{
  "cases": [
    {
      "case": "Valid structure",
      "ail": "AIL/0.2 M{id=demo1;act=A01;registry=ail-core:0.2;body=P(ail:earth,ail:orbits,ail:sun);conf=1;}",
      "json": {
        "id": "demo1",
        "act": "A01",
        "registry": "ail-core:0.2",
        "body": [
          "ail:earth",
          "ail:orbits",
          "ail:sun"
        ],
        "conf": 1
      },
      "json_syntax_valid": true,
      "ail_issues": [],
      "json_profile_issues": [],
      "accepted": true
    },
    {
      "case": "Misspelled relationship",
      "ail": "AIL/0.2 M{id=demo1;act=A01;registry=ail-core:0.2;body=P(ail:earth,ail:orbitts,ail:sun);conf=1;}",
      "json": {
        "id": "demo1",
        "act": "A01",
        "registry": "ail-core:0.2",
        "body": [
          "ail:earth",
          "ail:orbitts",
          "ail:sun"
        ],
        "conf": 1
      },
      "json_syntax_valid": true,
      "ail_issues": [
        {
          "code": "E03",
          "message": "unknown ail core concept ail:orbitts"
        }
      ],
      "json_profile_issues": [
        "body must contain three registered identifiers"
      ],
      "accepted": false
    },
    {
      "case": "Confidence outside range",
      "ail": "AIL/0.2 M{id=demo1;act=A01;registry=ail-core:0.2;body=P(ail:earth,ail:orbits,ail:sun);conf=1.2;}",
      "json": {
        "id": "demo1",
        "act": "A01",
        "registry": "ail-core:0.2",
        "body": [
          "ail:earth",
          "ail:orbits",
          "ail:sun"
        ],
        "conf": 1.2
      },
      "json_syntax_valid": true,
      "ail_issues": [
        {
          "code": "E06",
          "message": "conf is outside 0.0 through 1.0"
        }
      ],
      "json_profile_issues": [
        "confidence outside 0..1"
      ],
      "accepted": false
    },
    {
      "case": "False claim with valid structure",
      "ail": "AIL/0.2 M{id=demo1;act=A01;registry=ail-core:0.2;body=P(ail:sun,ail:orbits,ail:earth);conf=1;}",
      "json": {
        "id": "demo1",
        "act": "A01",
        "registry": "ail-core:0.2",
        "body": [
          "ail:sun",
          "ail:orbits",
          "ail:earth"
        ],
        "conf": 1
      },
      "json_syntax_valid": true,
      "ail_issues": [],
      "json_profile_issues": [],
      "accepted": true
    }
  ],
  "aliases": {
    "bare": "AIL/0.2 M{id=alias1;act=A01;registry=ail-core:0.2;body=P(ail:earth,ail:orbits,ail:sun);}",
    "labeled": "AIL/0.2 M{id=alias1;act=A01;registry=ail-core:0.2;body=P(ail:earth~tierra,ail:orbits~orbita,ail:sun~sol);}",
    "same_canonical_output": true,
    "output": "AIL/0.2\nM{id=alias1;act=A01;registry=ail-core:0.2;body=P(ail:earth,ail:orbits,ail:sun);}"
  }
}
