@agent-ix/semantic-core 0.0.0-stage → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/json-schema/ClauseLanguage.json +8 -0
- package/generated/json-schema/ClauseRef.json +22 -0
- package/generated/json-schema/ConstraintDecl.json +184 -0
- package/generated/json-schema/ConstraintKeyword.json +20 -0
- package/generated/json-schema/DecimalPolicy.json +23 -0
- package/generated/json-schema/DefaultDecl.json +17 -0
- package/generated/json-schema/DefaultKind.json +8 -0
- package/generated/json-schema/EdgeCategory.json +16 -0
- package/generated/json-schema/EnumValue.json +19 -0
- package/generated/json-schema/EnumValueName.json +8 -0
- package/generated/json-schema/EnumValuesConstraint.json +23 -0
- package/generated/json-schema/EnumValuesConstraintValues.json +55 -0
- package/generated/json-schema/ExclusiveMaxConstraint.json +19 -0
- package/generated/json-schema/ExclusiveMaxConstraintValue.json +39 -0
- package/generated/json-schema/ExclusiveMinConstraint.json +19 -0
- package/generated/json-schema/ExclusiveMinConstraintValue.json +39 -0
- package/generated/json-schema/FieldDecl.json +37 -0
- package/generated/json-schema/FormatConstraint.json +20 -0
- package/generated/json-schema/Identifier.json +8 -0
- package/generated/json-schema/KernelScalar.json +20 -0
- package/generated/json-schema/MaxConstraint.json +19 -0
- package/generated/json-schema/MaxConstraintValue.json +39 -0
- package/generated/json-schema/MaxLengthConstraint.json +21 -0
- package/generated/json-schema/MinConstraint.json +19 -0
- package/generated/json-schema/MinConstraintValue.json +40 -0
- package/generated/json-schema/MinLengthConstraint.json +21 -0
- package/generated/json-schema/Multiplicity.json +29 -0
- package/generated/json-schema/NonEmptyConstraint.json +16 -0
- package/generated/json-schema/OperationDecl.json +37 -0
- package/generated/json-schema/PatternConstraint.json +24 -0
- package/generated/json-schema/RelationDecl.json +28 -0
- package/generated/json-schema/SemanticId.json +8 -0
- package/generated/json-schema/SourceLocus.json +40 -0
- package/generated/json-schema/TypeRef.json +24 -0
- package/generated/json-schema/TypeRefTarget.json +40 -0
- package/generated/json-schema/UniqueConstraint.json +16 -0
- package/generated/json-schema/UnitSymbol.json +8 -0
- package/inventory.json +44 -0
- package/kernel-scalars.json +71 -0
- package/lowering.json +459 -0
- package/main.tsp +285 -0
- package/package.json +27 -5
- package/README.md +0 -3
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/ClauseLanguage.json",
|
|
4
|
+
"type": "string",
|
|
5
|
+
"pattern": "^(quire|ocl|sysml|fretish|[a-z0-9][a-z0-9.-]*:[A-Za-z0-9][A-Za-z0-9._-]*)$",
|
|
6
|
+
"description": "`quire` (checked by Quire), `ocl`, `sysml`, `fretish`, or a namespaced `<ns>:<name>` language (FR-028).",
|
|
7
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/ClauseLanguage"
|
|
8
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/ClauseRef.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"language": {
|
|
7
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/ClauseLanguage.json"
|
|
8
|
+
},
|
|
9
|
+
"clauseId": {
|
|
10
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/Identifier.json"
|
|
11
|
+
},
|
|
12
|
+
"sourceSpan": {
|
|
13
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/SourceLocus.json"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": ["language", "clauseId"],
|
|
17
|
+
"unevaluatedProperties": {
|
|
18
|
+
"not": {}
|
|
19
|
+
},
|
|
20
|
+
"description": "A clause reference: language, id, and where the clause text lives. Text itself is never parsed here.",
|
|
21
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/ClauseRef"
|
|
22
|
+
}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/ConstraintDecl.json",
|
|
4
|
+
"oneOf": [
|
|
5
|
+
{
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"kind": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "MinConstraint"
|
|
11
|
+
},
|
|
12
|
+
"value": {
|
|
13
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/MinConstraint.json"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": ["kind", "value"],
|
|
17
|
+
"unevaluatedProperties": {
|
|
18
|
+
"not": {}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "object",
|
|
23
|
+
"properties": {
|
|
24
|
+
"kind": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"const": "MaxConstraint"
|
|
27
|
+
},
|
|
28
|
+
"value": {
|
|
29
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/MaxConstraint.json"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"required": ["kind", "value"],
|
|
33
|
+
"unevaluatedProperties": {
|
|
34
|
+
"not": {}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "object",
|
|
39
|
+
"properties": {
|
|
40
|
+
"kind": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"const": "ExclusiveMinConstraint"
|
|
43
|
+
},
|
|
44
|
+
"value": {
|
|
45
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/ExclusiveMinConstraint.json"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"required": ["kind", "value"],
|
|
49
|
+
"unevaluatedProperties": {
|
|
50
|
+
"not": {}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"type": "object",
|
|
55
|
+
"properties": {
|
|
56
|
+
"kind": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"const": "ExclusiveMaxConstraint"
|
|
59
|
+
},
|
|
60
|
+
"value": {
|
|
61
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/ExclusiveMaxConstraint.json"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"required": ["kind", "value"],
|
|
65
|
+
"unevaluatedProperties": {
|
|
66
|
+
"not": {}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"type": "object",
|
|
71
|
+
"properties": {
|
|
72
|
+
"kind": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"const": "PatternConstraint"
|
|
75
|
+
},
|
|
76
|
+
"value": {
|
|
77
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/PatternConstraint.json"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"required": ["kind", "value"],
|
|
81
|
+
"unevaluatedProperties": {
|
|
82
|
+
"not": {}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"type": "object",
|
|
87
|
+
"properties": {
|
|
88
|
+
"kind": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"const": "MinLengthConstraint"
|
|
91
|
+
},
|
|
92
|
+
"value": {
|
|
93
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/MinLengthConstraint.json"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"required": ["kind", "value"],
|
|
97
|
+
"unevaluatedProperties": {
|
|
98
|
+
"not": {}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"type": "object",
|
|
103
|
+
"properties": {
|
|
104
|
+
"kind": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"const": "MaxLengthConstraint"
|
|
107
|
+
},
|
|
108
|
+
"value": {
|
|
109
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/MaxLengthConstraint.json"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"required": ["kind", "value"],
|
|
113
|
+
"unevaluatedProperties": {
|
|
114
|
+
"not": {}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"type": "object",
|
|
119
|
+
"properties": {
|
|
120
|
+
"kind": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"const": "EnumValuesConstraint"
|
|
123
|
+
},
|
|
124
|
+
"value": {
|
|
125
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/EnumValuesConstraint.json"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"required": ["kind", "value"],
|
|
129
|
+
"unevaluatedProperties": {
|
|
130
|
+
"not": {}
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"type": "object",
|
|
135
|
+
"properties": {
|
|
136
|
+
"kind": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"const": "NonEmptyConstraint"
|
|
139
|
+
},
|
|
140
|
+
"value": {
|
|
141
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/NonEmptyConstraint.json"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"required": ["kind", "value"],
|
|
145
|
+
"unevaluatedProperties": {
|
|
146
|
+
"not": {}
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"type": "object",
|
|
151
|
+
"properties": {
|
|
152
|
+
"kind": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"const": "UniqueConstraint"
|
|
155
|
+
},
|
|
156
|
+
"value": {
|
|
157
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/UniqueConstraint.json"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"required": ["kind", "value"],
|
|
161
|
+
"unevaluatedProperties": {
|
|
162
|
+
"not": {}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"type": "object",
|
|
167
|
+
"properties": {
|
|
168
|
+
"kind": {
|
|
169
|
+
"type": "string",
|
|
170
|
+
"const": "FormatConstraint"
|
|
171
|
+
},
|
|
172
|
+
"value": {
|
|
173
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/FormatConstraint.json"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"required": ["kind", "value"],
|
|
177
|
+
"unevaluatedProperties": {
|
|
178
|
+
"not": {}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
"description": "FR-029 constraint declaration, tagged by `kind` with its record in `value`.",
|
|
183
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/ConstraintDecl"
|
|
184
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/ConstraintKeyword.json",
|
|
4
|
+
"type": "string",
|
|
5
|
+
"enum": [
|
|
6
|
+
"min",
|
|
7
|
+
"max",
|
|
8
|
+
"exclusiveMin",
|
|
9
|
+
"exclusiveMax",
|
|
10
|
+
"pattern",
|
|
11
|
+
"minLength",
|
|
12
|
+
"maxLength",
|
|
13
|
+
"enumValues",
|
|
14
|
+
"nonEmpty",
|
|
15
|
+
"unique",
|
|
16
|
+
"format"
|
|
17
|
+
],
|
|
18
|
+
"description": "FR-029 closed keyword set; equal to the IR `constraint.keyword` set.",
|
|
19
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/ConstraintKeyword"
|
|
20
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/DecimalPolicy.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"precision": {
|
|
7
|
+
"type": "integer",
|
|
8
|
+
"minimum": 1,
|
|
9
|
+
"maximum": 38
|
|
10
|
+
},
|
|
11
|
+
"scale": {
|
|
12
|
+
"type": "integer",
|
|
13
|
+
"minimum": 0,
|
|
14
|
+
"maximum": 38
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"required": ["precision", "scale"],
|
|
18
|
+
"unevaluatedProperties": {
|
|
19
|
+
"not": {}
|
|
20
|
+
},
|
|
21
|
+
"description": "Precision and scale for a `Decimal` target (FR-032).",
|
|
22
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/DecimalPolicy"
|
|
23
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/DefaultDecl.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"kind": {
|
|
7
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/DefaultKind.json"
|
|
8
|
+
},
|
|
9
|
+
"value": {}
|
|
10
|
+
},
|
|
11
|
+
"required": ["kind"],
|
|
12
|
+
"unevaluatedProperties": {
|
|
13
|
+
"not": {}
|
|
14
|
+
},
|
|
15
|
+
"description": "A declared default; `value` shape is decided by the target scalar (FR-031-CON-2 exception).",
|
|
16
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/DefaultDecl"
|
|
17
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/DefaultKind.json",
|
|
4
|
+
"type": "string",
|
|
5
|
+
"enum": ["semantic", "representation", "migration"],
|
|
6
|
+
"description": "IR `defaultKind` minus `none` (an absent default lowers to `none`).",
|
|
7
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/DefaultKind"
|
|
8
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/EdgeCategory.json",
|
|
4
|
+
"type": "string",
|
|
5
|
+
"enum": [
|
|
6
|
+
"structural",
|
|
7
|
+
"behavioral",
|
|
8
|
+
"dataflow",
|
|
9
|
+
"dependency",
|
|
10
|
+
"realization",
|
|
11
|
+
"governance",
|
|
12
|
+
"traceability"
|
|
13
|
+
],
|
|
14
|
+
"description": "FR-040 edge categories; equal to the IR `relationship.category` set.",
|
|
15
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/EdgeCategory"
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/EnumValue.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"value": {
|
|
7
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/EnumValueName.json"
|
|
8
|
+
},
|
|
9
|
+
"doc": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"required": ["value"],
|
|
14
|
+
"unevaluatedProperties": {
|
|
15
|
+
"not": {}
|
|
16
|
+
},
|
|
17
|
+
"description": "An enum member declaration; lowers to an IR variant.",
|
|
18
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/EnumValue"
|
|
19
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/EnumValueName.json",
|
|
4
|
+
"type": "string",
|
|
5
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:-[A-Za-z0-9_]+)*$",
|
|
6
|
+
"description": "An enum member name may use single, internal hyphens for exact external spellings.",
|
|
7
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/EnumValueName"
|
|
8
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/EnumValuesConstraint.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"keyword": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"const": "enumValues"
|
|
9
|
+
},
|
|
10
|
+
"values": {
|
|
11
|
+
"type": "array",
|
|
12
|
+
"items": {
|
|
13
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/EnumValuesConstraintValues.json"
|
|
14
|
+
},
|
|
15
|
+
"minItems": 1
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"required": ["keyword", "values"],
|
|
19
|
+
"unevaluatedProperties": {
|
|
20
|
+
"not": {}
|
|
21
|
+
},
|
|
22
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/EnumValuesConstraint"
|
|
23
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/EnumValuesConstraintValues.json",
|
|
4
|
+
"oneOf": [
|
|
5
|
+
{
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"kind": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "string"
|
|
11
|
+
},
|
|
12
|
+
"value": {
|
|
13
|
+
"type": "string"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": ["kind", "value"],
|
|
17
|
+
"unevaluatedProperties": {
|
|
18
|
+
"not": {}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "object",
|
|
23
|
+
"properties": {
|
|
24
|
+
"kind": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"const": "number"
|
|
27
|
+
},
|
|
28
|
+
"value": {
|
|
29
|
+
"type": "number"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"required": ["kind", "value"],
|
|
33
|
+
"unevaluatedProperties": {
|
|
34
|
+
"not": {}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "object",
|
|
39
|
+
"properties": {
|
|
40
|
+
"kind": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"const": "boolean"
|
|
43
|
+
},
|
|
44
|
+
"value": {
|
|
45
|
+
"type": "boolean"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"required": ["kind", "value"],
|
|
49
|
+
"unevaluatedProperties": {
|
|
50
|
+
"not": {}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/EnumValuesConstraintValues"
|
|
55
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/ExclusiveMaxConstraint.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"keyword": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"const": "exclusiveMax"
|
|
9
|
+
},
|
|
10
|
+
"value": {
|
|
11
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/ExclusiveMaxConstraintValue.json"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"required": ["keyword", "value"],
|
|
15
|
+
"unevaluatedProperties": {
|
|
16
|
+
"not": {}
|
|
17
|
+
},
|
|
18
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/ExclusiveMaxConstraint"
|
|
19
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/ExclusiveMaxConstraintValue.json",
|
|
4
|
+
"oneOf": [
|
|
5
|
+
{
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"kind": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "number"
|
|
11
|
+
},
|
|
12
|
+
"value": {
|
|
13
|
+
"type": "number"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": ["kind", "value"],
|
|
17
|
+
"unevaluatedProperties": {
|
|
18
|
+
"not": {}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "object",
|
|
23
|
+
"properties": {
|
|
24
|
+
"kind": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"const": "string"
|
|
27
|
+
},
|
|
28
|
+
"value": {
|
|
29
|
+
"type": "string"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"required": ["kind", "value"],
|
|
33
|
+
"unevaluatedProperties": {
|
|
34
|
+
"not": {}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/ExclusiveMaxConstraintValue"
|
|
39
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/ExclusiveMinConstraint.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"keyword": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"const": "exclusiveMin"
|
|
9
|
+
},
|
|
10
|
+
"value": {
|
|
11
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/ExclusiveMinConstraintValue.json"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"required": ["keyword", "value"],
|
|
15
|
+
"unevaluatedProperties": {
|
|
16
|
+
"not": {}
|
|
17
|
+
},
|
|
18
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/ExclusiveMinConstraint"
|
|
19
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/ExclusiveMinConstraintValue.json",
|
|
4
|
+
"oneOf": [
|
|
5
|
+
{
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"kind": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "number"
|
|
11
|
+
},
|
|
12
|
+
"value": {
|
|
13
|
+
"type": "number"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": ["kind", "value"],
|
|
17
|
+
"unevaluatedProperties": {
|
|
18
|
+
"not": {}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "object",
|
|
23
|
+
"properties": {
|
|
24
|
+
"kind": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"const": "string"
|
|
27
|
+
},
|
|
28
|
+
"value": {
|
|
29
|
+
"type": "string"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"required": ["kind", "value"],
|
|
33
|
+
"unevaluatedProperties": {
|
|
34
|
+
"not": {}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/ExclusiveMinConstraintValue"
|
|
39
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/FieldDecl.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"name": {
|
|
7
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/Identifier.json"
|
|
8
|
+
},
|
|
9
|
+
"type": {
|
|
10
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/TypeRef.json"
|
|
11
|
+
},
|
|
12
|
+
"identity": {
|
|
13
|
+
"type": "boolean"
|
|
14
|
+
},
|
|
15
|
+
"nullable": {
|
|
16
|
+
"type": "boolean"
|
|
17
|
+
},
|
|
18
|
+
"default": {
|
|
19
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/DefaultDecl.json"
|
|
20
|
+
},
|
|
21
|
+
"doc": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"constraints": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/ConstraintDecl.json"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"required": ["name", "type"],
|
|
32
|
+
"unevaluatedProperties": {
|
|
33
|
+
"not": {}
|
|
34
|
+
},
|
|
35
|
+
"description": "A field declaration (one typed Properties row). Reader: unique by name; identity only on 1..1 non-JsonObject.",
|
|
36
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/FieldDecl"
|
|
37
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/FormatConstraint.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"keyword": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"const": "format"
|
|
9
|
+
},
|
|
10
|
+
"name": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"pattern": "^[a-z0-9][a-z0-9.-]*:[A-Za-z0-9][A-Za-z0-9._-]*$"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required": ["keyword", "name"],
|
|
16
|
+
"unevaluatedProperties": {
|
|
17
|
+
"not": {}
|
|
18
|
+
},
|
|
19
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/FormatConstraint"
|
|
20
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/Identifier.json",
|
|
4
|
+
"type": "string",
|
|
5
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$",
|
|
6
|
+
"description": "A declaration name: letters, digits, underscore; no leading digit.",
|
|
7
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/Identifier"
|
|
8
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/KernelScalar.json",
|
|
4
|
+
"type": "string",
|
|
5
|
+
"enum": [
|
|
6
|
+
"UUID",
|
|
7
|
+
"Boolean",
|
|
8
|
+
"Integer",
|
|
9
|
+
"Decimal",
|
|
10
|
+
"Float32",
|
|
11
|
+
"Float64",
|
|
12
|
+
"String",
|
|
13
|
+
"Timestamp",
|
|
14
|
+
"Duration",
|
|
15
|
+
"Bytes",
|
|
16
|
+
"JsonObject"
|
|
17
|
+
],
|
|
18
|
+
"description": "Kernel scalar library (FR-032); representations in kernel-scalars.json.",
|
|
19
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/KernelScalar"
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-ix.org/semantic-core/0.4.1/MaxConstraint.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"keyword": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"const": "max"
|
|
9
|
+
},
|
|
10
|
+
"value": {
|
|
11
|
+
"$ref": "https://schemas.agent-ix.org/semantic-core/0.4.1/MaxConstraintValue.json"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"required": ["keyword", "value"],
|
|
15
|
+
"unevaluatedProperties": {
|
|
16
|
+
"not": {}
|
|
17
|
+
},
|
|
18
|
+
"x-agent-ix-semantic-id": "ix://agent-ix/semantic-core/MaxConstraint"
|
|
19
|
+
}
|