Skip to content

Commit

Permalink
Time Conditions for Bedingungsbaum (#520)
Browse files Browse the repository at this point in the history
* WIP

* added test

* update twine
  • Loading branch information
DeltaDaniel authored Dec 16, 2024
1 parent 83ac8bd commit c3f5837
Show file tree
Hide file tree
Showing 14 changed files with 1,412 additions and 1,103 deletions.
4 changes: 2 additions & 2 deletions dev_requirements/requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ docutils==0.20.1
# via
# sphinx
# sphinx-rtd-theme
efoli==1.2.0
efoli==1.3.0
# via
# ahbicht (pyproject.toml)
# maus
Expand All @@ -36,7 +36,7 @@ lark==1.2.2
# via ahbicht (pyproject.toml)
markupsafe==2.1.5
# via jinja2
marshmallow==3.22.0
marshmallow==3.23.0
# via
# ahbicht (pyproject.toml)
# marshmallow-enum
Expand Down
158 changes: 86 additions & 72 deletions json_schemas/AhbExpressionEvaluationResultSchema.json
Original file line number Diff line number Diff line change
@@ -1,80 +1,94 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"AhbExpressionEvaluationResultSchema": {
"additionalProperties": false,
"properties": {
"format_constraint_evaluation_result": {
"$ref": "#/definitions/FormatConstraintEvaluationResultSchema",
"type": "object"
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"AhbExpressionEvaluationResultSchema": {
"additionalProperties": false,
"properties": {
"format_constraint_evaluation_result": {
"$ref": "#/definitions/FormatConstraintEvaluationResultSchema",
"type": "object"
},
"requirement_constraint_evaluation_result": {
"$ref": "#/definitions/RequirementConstraintEvaluationResultSchema",
"type": "object"
},
"requirement_indicator": {
"title": "",
"type": "string"
}
},
"type": "object"
},
"requirement_constraint_evaluation_result": {
"$ref": "#/definitions/RequirementConstraintEvaluationResultSchema",
"type": "object"
"EvaluatedFormatConstraintSchema": {
"additionalProperties": false,
"properties": {
"error_message": {
"default": true,
"title": "error_message",
"type": [
"string",
"null"
]
},
"format_constraint_fulfilled": {
"title": "format_constraint_fulfilled",
"type": "boolean"
}
},
"required": [
"format_constraint_fulfilled"
],
"type": "object"
},
"requirement_indicator": {
"title": "",
"type": "string"
}
},
"type": "object"
},
"EvaluatedFormatConstraintSchema": {
"additionalProperties": false,
"properties": {
"error_message": {
"default": true,
"title": "error_message",
"type": ["string", "null"]
"FormatConstraintEvaluationResultSchema": {
"additionalProperties": false,
"properties": {
"error_message": {
"title": "error_message",
"type": [
"string",
"null"
]
},
"format_constraints_fulfilled": {
"title": "format_constraints_fulfilled",
"type": "boolean"
}
},
"type": "object"
},
"format_constraint_fulfilled": {
"title": "format_constraint_fulfilled",
"type": "boolean"
"RequirementConstraintEvaluationResultSchema": {
"additionalProperties": false,
"properties": {
"format_constraints_expression": {
"title": "format_constraints_expression",
"type": [
"string",
"null"
]
},
"hints": {
"title": "hints",
"type": [
"string",
"null"
]
},
"requirement_constraints_fulfilled": {
"title": "requirement_constraints_fulfilled",
"type": "boolean"
},
"requirement_is_conditional": {
"title": "requirement_is_conditional",
"type": "boolean"
}
},
"type": "object"
}
},
"required": ["format_constraint_fulfilled"],
"type": "object"
},
"FormatConstraintEvaluationResultSchema": {
"additionalProperties": false,
"properties": {
"error_message": {
"title": "error_message",
"type": ["string", "null"]
},
"format_constraints_fulfilled": {
"title": "format_constraints_fulfilled",
"type": "boolean"
}
},
"type": "object"
"properties": {
"$ref": "#/definitions/AhbExpressionEvaluationResultSchema/properties"
},
"RequirementConstraintEvaluationResultSchema": {
"additionalProperties": false,
"properties": {
"format_constraints_expression": {
"title": "format_constraints_expression",
"type": ["string", "null"]
},
"hints": {
"title": "hints",
"type": ["string", "null"]
},
"requirement_constraints_fulfilled": {
"title": "requirement_constraints_fulfilled",
"type": "boolean"
},
"requirement_is_conditional": {
"title": "requirement_is_conditional",
"type": "boolean"
}
},
"type": "object"
}
},
"properties": {
"$ref": "#/definitions/AhbExpressionEvaluationResultSchema/properties"
},
"title": "AhbExpressionEvaluationResultSchema",
"type": "object"
"title": "AhbExpressionEvaluationResultSchema",
"type": "object"
}
Loading

0 comments on commit c3f5837

Please sign in to comment.