From 8b3d448b46061f539da10c42749933edf943ae47 Mon Sep 17 00:00:00 2001 From: Tobias Persson Date: Tue, 6 Dec 2022 10:10:25 +0100 Subject: [PATCH] Update to arica (#53) * Add events from edition-arica --- .../events/eiffel_activity_canceled_event.py | 2 +- .../events/eiffel_activity_finished_event.py | 2 +- .../events/eiffel_activity_started_event.py | 2 +- .../events/eiffel_activity_triggered_event.py | 2 +- .../eiffel_announcement_published_event.py | 2 +- .../events/eiffel_artifact_created_event.py | 2 +- .../events/eiffel_artifact_published_event.py | 2 +- .../events/eiffel_artifact_reused_event.py | 2 +- .../eiffel_composition_defined_event.py | 2 +- .../eiffel_confidence_level_modified_event.py | 2 +- .../eiffel_environment_defined_event.py | 2 +- .../eiffel_flow_context_defined_event.py | 2 +- .../events/eiffel_issue_defined_event.py | 2 +- .../events/eiffel_issue_verified_event.py | 2 +- .../eiffel_source_change_created_event.py | 2 +- .../eiffel_source_change_submitted_event.py | 2 +- .../events/eiffel_test_case_canceled_event.py | 2 +- .../events/eiffel_test_case_finished_event.py | 2 +- .../events/eiffel_test_case_started_event.py | 2 +- .../eiffel_test_case_triggered_event.py | 2 +- ...ecution_recipe_collection_created_event.py | 2 +- .../eiffel_test_suite_finished_event.py | 2 +- .../events/eiffel_test_suite_started_event.py | 2 +- .../EiffelActivityCanceledEvent/1.0.0.json | 11 +- .../EiffelActivityCanceledEvent/1.1.0.json | 11 +- .../EiffelActivityCanceledEvent/2.0.0.json | 11 +- .../EiffelActivityCanceledEvent/3.0.0.json | 26 +- .../EiffelActivityCanceledEvent/3.1.0.json | 26 +- .../EiffelActivityCanceledEvent/3.2.0.json | 188 +++++++++++ .../EiffelActivityFinishedEvent/1.0.0.json | 11 +- .../EiffelActivityFinishedEvent/1.1.0.json | 11 +- .../EiffelActivityFinishedEvent/2.0.0.json | 11 +- .../EiffelActivityFinishedEvent/3.0.0.json | 26 +- .../EiffelActivityFinishedEvent/3.1.0.json | 26 +- .../EiffelActivityFinishedEvent/3.2.0.json | 26 +- .../EiffelActivityFinishedEvent/3.3.0.json | 238 +++++++++++++ .../EiffelActivityStartedEvent/1.0.0.json | 11 +- .../EiffelActivityStartedEvent/1.1.0.json | 11 +- .../EiffelActivityStartedEvent/2.0.0.json | 11 +- .../EiffelActivityStartedEvent/3.0.0.json | 11 +- .../EiffelActivityStartedEvent/4.0.0.json | 26 +- .../EiffelActivityStartedEvent/4.1.0.json | 26 +- .../EiffelActivityStartedEvent/4.2.0.json | 26 +- .../EiffelActivityStartedEvent/4.3.0.json | 216 ++++++++++++ .../EiffelActivityTriggeredEvent/1.0.0.json | 11 +- .../EiffelActivityTriggeredEvent/1.1.0.json | 11 +- .../EiffelActivityTriggeredEvent/2.0.0.json | 11 +- .../EiffelActivityTriggeredEvent/3.0.0.json | 11 +- .../EiffelActivityTriggeredEvent/4.0.0.json | 26 +- .../EiffelActivityTriggeredEvent/4.1.0.json | 26 +- .../EiffelActivityTriggeredEvent/4.2.0.json | 231 +++++++++++++ .../1.0.0.json | 20 +- .../1.1.0.json | 20 +- .../2.0.0.json | 20 +- .../3.0.0.json | 35 +- .../3.1.0.json | 35 +- .../3.2.0.json | 210 ++++++++++++ .../EiffelArtifactCreatedEvent/1.0.0.json | 11 +- .../EiffelArtifactCreatedEvent/1.1.0.json | 11 +- .../EiffelArtifactCreatedEvent/2.0.0.json | 11 +- .../EiffelArtifactCreatedEvent/3.0.0.json | 26 +- .../EiffelArtifactCreatedEvent/3.1.0.json | 26 +- .../EiffelArtifactCreatedEvent/3.2.0.json | 242 +++++++++++++ .../EiffelArtifactCreatedEvent/3.3.0.json | 267 +++++++++++++++ .../EiffelArtifactPublishedEvent/1.0.0.json | 11 +- .../EiffelArtifactPublishedEvent/1.1.0.json | 11 +- .../EiffelArtifactPublishedEvent/2.0.0.json | 11 +- .../EiffelArtifactPublishedEvent/3.0.0.json | 26 +- .../EiffelArtifactPublishedEvent/3.1.0.json | 26 +- .../EiffelArtifactPublishedEvent/3.2.0.json | 26 +- .../EiffelArtifactPublishedEvent/3.3.0.json | 216 ++++++++++++ .../EiffelArtifactReusedEvent/1.0.0.json | 11 +- .../EiffelArtifactReusedEvent/1.1.0.json | 11 +- .../EiffelArtifactReusedEvent/2.0.0.json | 11 +- .../EiffelArtifactReusedEvent/3.0.0.json | 26 +- .../EiffelArtifactReusedEvent/3.1.0.json | 26 +- .../EiffelArtifactReusedEvent/3.2.0.json | 185 ++++++++++ .../EiffelCompositionDefinedEvent/1.0.0.json | 11 +- .../EiffelCompositionDefinedEvent/1.1.0.json | 11 +- .../EiffelCompositionDefinedEvent/2.0.0.json | 11 +- .../EiffelCompositionDefinedEvent/3.0.0.json | 26 +- .../EiffelCompositionDefinedEvent/3.1.0.json | 26 +- .../EiffelCompositionDefinedEvent/3.2.0.json | 26 +- .../EiffelCompositionDefinedEvent/3.3.0.json | 194 +++++++++++ .../1.0.0.json | 17 +- .../1.1.0.json | 17 +- .../2.0.0.json | 17 +- .../3.0.0.json | 32 +- .../3.1.0.json | 32 +- .../3.2.0.json | 218 ++++++++++++ .../EiffelEnvironmentDefinedEvent/1.0.0.json | 11 +- .../EiffelEnvironmentDefinedEvent/1.1.0.json | 11 +- .../EiffelEnvironmentDefinedEvent/2.0.0.json | 11 +- .../EiffelEnvironmentDefinedEvent/3.0.0.json | 26 +- .../EiffelEnvironmentDefinedEvent/3.1.0.json | 26 +- .../EiffelEnvironmentDefinedEvent/3.2.0.json | 26 +- .../EiffelEnvironmentDefinedEvent/3.3.0.json | 216 ++++++++++++ .../EiffelFlowContextDefinedEvent/1.0.0.json | 11 +- .../EiffelFlowContextDefinedEvent/1.1.0.json | 11 +- .../EiffelFlowContextDefinedEvent/2.0.0.json | 11 +- .../EiffelFlowContextDefinedEvent/3.0.0.json | 26 +- .../EiffelFlowContextDefinedEvent/3.1.0.json | 26 +- .../EiffelFlowContextDefinedEvent/3.2.0.json | 200 +++++++++++ .../EiffelIssueDefinedEvent/1.0.0.json | 11 +- .../EiffelIssueDefinedEvent/2.0.0.json | 11 +- .../EiffelIssueDefinedEvent/3.0.0.json | 26 +- .../EiffelIssueDefinedEvent/3.1.0.json | 26 +- .../EiffelIssueDefinedEvent/3.2.0.json | 208 ++++++++++++ .../EiffelIssueVerifiedEvent/1.0.0.json | 11 +- .../EiffelIssueVerifiedEvent/1.1.0.json | 11 +- .../EiffelIssueVerifiedEvent/2.0.0.json | 13 +- .../EiffelIssueVerifiedEvent/3.0.0.json | 11 +- .../EiffelIssueVerifiedEvent/4.0.0.json | 26 +- .../EiffelIssueVerifiedEvent/4.1.0.json | 26 +- .../EiffelIssueVerifiedEvent/4.2.0.json | 185 ++++++++++ .../EiffelSourceChangeCreatedEvent/1.0.0.json | 11 +- .../EiffelSourceChangeCreatedEvent/1.1.0.json | 11 +- .../EiffelSourceChangeCreatedEvent/2.0.0.json | 11 +- .../EiffelSourceChangeCreatedEvent/3.0.0.json | 11 +- .../EiffelSourceChangeCreatedEvent/4.0.0.json | 26 +- .../EiffelSourceChangeCreatedEvent/4.1.0.json | 26 +- .../EiffelSourceChangeCreatedEvent/4.2.0.json | 317 ++++++++++++++++++ .../1.0.0.json | 11 +- .../1.1.0.json | 11 +- .../2.0.0.json | 11 +- .../3.0.0.json | 26 +- .../3.1.0.json | 26 +- .../3.2.0.json | 293 ++++++++++++++++ .../EiffelTestCaseCanceledEvent/1.0.0.json | 11 +- .../EiffelTestCaseCanceledEvent/1.1.0.json | 11 +- .../EiffelTestCaseCanceledEvent/2.0.0.json | 11 +- .../EiffelTestCaseCanceledEvent/3.0.0.json | 26 +- .../EiffelTestCaseCanceledEvent/3.1.0.json | 26 +- .../EiffelTestCaseCanceledEvent/3.2.0.json | 188 +++++++++++ .../EiffelTestCaseFinishedEvent/1.0.0.json | 14 +- .../EiffelTestCaseFinishedEvent/1.0.1.json | 14 +- .../EiffelTestCaseFinishedEvent/1.1.0.json | 14 +- .../EiffelTestCaseFinishedEvent/2.0.0.json | 14 +- .../EiffelTestCaseFinishedEvent/3.0.0.json | 29 +- .../EiffelTestCaseFinishedEvent/3.1.0.json | 29 +- .../EiffelTestCaseFinishedEvent/3.2.0.json | 29 +- .../EiffelTestCaseFinishedEvent/3.3.0.json | 264 +++++++++++++++ .../EiffelTestCaseStartedEvent/1.0.0.json | 11 +- .../EiffelTestCaseStartedEvent/1.1.0.json | 11 +- .../EiffelTestCaseStartedEvent/2.0.0.json | 11 +- .../EiffelTestCaseStartedEvent/3.0.0.json | 26 +- .../EiffelTestCaseStartedEvent/3.1.0.json | 26 +- .../EiffelTestCaseStartedEvent/3.2.0.json | 26 +- .../EiffelTestCaseStartedEvent/3.3.0.json | 216 ++++++++++++ .../EiffelTestCaseTriggeredEvent/1.0.0.json | 11 +- .../EiffelTestCaseTriggeredEvent/1.1.0.json | 11 +- .../EiffelTestCaseTriggeredEvent/2.0.0.json | 11 +- .../EiffelTestCaseTriggeredEvent/3.0.0.json | 26 +- .../EiffelTestCaseTriggeredEvent/3.1.0.json | 26 +- .../EiffelTestCaseTriggeredEvent/3.2.0.json | 266 +++++++++++++++ .../1.0.0.json | 11 +- .../2.0.0.json | 14 +- .../2.1.0.json | 14 +- .../3.0.0.json | 14 +- .../4.0.0.json | 29 +- .../4.1.0.json | 29 +- .../4.1.1.json | 29 +- .../4.2.0.json | 299 +++++++++++++++++ .../4.3.0.json | 302 +++++++++++++++++ .../EiffelTestSuiteFinishedEvent/1.0.0.json | 11 +- .../EiffelTestSuiteFinishedEvent/1.1.0.json | 11 +- .../EiffelTestSuiteFinishedEvent/2.0.0.json | 11 +- .../EiffelTestSuiteFinishedEvent/3.0.0.json | 26 +- .../EiffelTestSuiteFinishedEvent/3.1.0.json | 26 +- .../EiffelTestSuiteFinishedEvent/3.2.0.json | 26 +- .../EiffelTestSuiteFinishedEvent/3.3.0.json | 240 +++++++++++++ .../EiffelTestSuiteStartedEvent/1.0.0.json | 11 +- .../EiffelTestSuiteStartedEvent/1.1.0.json | 11 +- .../EiffelTestSuiteStartedEvent/2.0.0.json | 11 +- .../EiffelTestSuiteStartedEvent/3.0.0.json | 26 +- .../EiffelTestSuiteStartedEvent/3.1.0.json | 26 +- .../EiffelTestSuiteStartedEvent/3.2.0.json | 26 +- .../EiffelTestSuiteStartedEvent/3.3.0.json | 250 ++++++++++++++ 178 files changed, 7645 insertions(+), 636 deletions(-) create mode 100644 src/eiffellib/schemas/EiffelActivityCanceledEvent/3.2.0.json create mode 100644 src/eiffellib/schemas/EiffelActivityFinishedEvent/3.3.0.json create mode 100644 src/eiffellib/schemas/EiffelActivityStartedEvent/4.3.0.json create mode 100644 src/eiffellib/schemas/EiffelActivityTriggeredEvent/4.2.0.json create mode 100644 src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/3.2.0.json create mode 100644 src/eiffellib/schemas/EiffelArtifactCreatedEvent/3.2.0.json create mode 100644 src/eiffellib/schemas/EiffelArtifactCreatedEvent/3.3.0.json create mode 100644 src/eiffellib/schemas/EiffelArtifactPublishedEvent/3.3.0.json create mode 100644 src/eiffellib/schemas/EiffelArtifactReusedEvent/3.2.0.json create mode 100644 src/eiffellib/schemas/EiffelCompositionDefinedEvent/3.3.0.json create mode 100644 src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/3.2.0.json create mode 100644 src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/3.3.0.json create mode 100644 src/eiffellib/schemas/EiffelFlowContextDefinedEvent/3.2.0.json create mode 100644 src/eiffellib/schemas/EiffelIssueDefinedEvent/3.2.0.json create mode 100644 src/eiffellib/schemas/EiffelIssueVerifiedEvent/4.2.0.json create mode 100644 src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/4.2.0.json create mode 100644 src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/3.2.0.json create mode 100644 src/eiffellib/schemas/EiffelTestCaseCanceledEvent/3.2.0.json create mode 100644 src/eiffellib/schemas/EiffelTestCaseFinishedEvent/3.3.0.json create mode 100644 src/eiffellib/schemas/EiffelTestCaseStartedEvent/3.3.0.json create mode 100644 src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/3.2.0.json create mode 100644 src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/4.2.0.json create mode 100644 src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/4.3.0.json create mode 100644 src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/3.3.0.json create mode 100644 src/eiffellib/schemas/EiffelTestSuiteStartedEvent/3.3.0.json diff --git a/src/eiffellib/events/eiffel_activity_canceled_event.py b/src/eiffellib/events/eiffel_activity_canceled_event.py index 5c58fdc..5896c5b 100644 --- a/src/eiffellib/events/eiffel_activity_canceled_event.py +++ b/src/eiffellib/events/eiffel_activity_canceled_event.py @@ -32,7 +32,7 @@ class EiffelActivityCanceledData(EiffelBaseData): class EiffelActivityCanceledEvent(EiffelBaseEvent): """Eiffel activity canceled event.""" - version = "3.1.0" + version = "3.2.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_activity_finished_event.py b/src/eiffellib/events/eiffel_activity_finished_event.py index 06fc287..fe22223 100644 --- a/src/eiffellib/events/eiffel_activity_finished_event.py +++ b/src/eiffellib/events/eiffel_activity_finished_event.py @@ -32,7 +32,7 @@ class EiffelActivityFinishedData(EiffelBaseData): class EiffelActivityFinishedEvent(EiffelBaseEvent): """Eiffel activity finished event.""" - version = "3.2.0" + version = "3.3.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_activity_started_event.py b/src/eiffellib/events/eiffel_activity_started_event.py index 4492aee..ce4bc0a 100644 --- a/src/eiffellib/events/eiffel_activity_started_event.py +++ b/src/eiffellib/events/eiffel_activity_started_event.py @@ -32,7 +32,7 @@ class EiffelActivityStartedData(EiffelBaseData): class EiffelActivityStartedEvent(EiffelBaseEvent): """Eiffel activity started event.""" - version = "4.2.0" + version = "4.3.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_activity_triggered_event.py b/src/eiffellib/events/eiffel_activity_triggered_event.py index 05eb217..d588a54 100644 --- a/src/eiffellib/events/eiffel_activity_triggered_event.py +++ b/src/eiffellib/events/eiffel_activity_triggered_event.py @@ -32,7 +32,7 @@ class EiffelActivityTriggeredData(EiffelBaseData): class EiffelActivityTriggeredEvent(EiffelBaseEvent): """Eiffel activity triggered event.""" - version = "4.1.0" + version = "4.2.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_announcement_published_event.py b/src/eiffellib/events/eiffel_announcement_published_event.py index 8465108..f01d6bf 100644 --- a/src/eiffellib/events/eiffel_announcement_published_event.py +++ b/src/eiffellib/events/eiffel_announcement_published_event.py @@ -32,7 +32,7 @@ class EiffelAnnouncementPublishedData(EiffelBaseData): class EiffelAnnouncementPublishedEvent(EiffelBaseEvent): """Eiffel announcement published event.""" - version = "3.1.0" + version = "3.2.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_artifact_created_event.py b/src/eiffellib/events/eiffel_artifact_created_event.py index d9b417c..3cdeea7 100644 --- a/src/eiffellib/events/eiffel_artifact_created_event.py +++ b/src/eiffellib/events/eiffel_artifact_created_event.py @@ -32,7 +32,7 @@ class EiffelArtifactCreatedData(EiffelBaseData): class EiffelArtifactCreatedEvent(EiffelBaseEvent): """Eiffel artifact created event.""" - version = "3.1.0" + version = "3.3.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_artifact_published_event.py b/src/eiffellib/events/eiffel_artifact_published_event.py index 1bd2f4a..7dfa066 100644 --- a/src/eiffellib/events/eiffel_artifact_published_event.py +++ b/src/eiffellib/events/eiffel_artifact_published_event.py @@ -32,7 +32,7 @@ class EiffelArtifactPublishedData(EiffelBaseData): class EiffelArtifactPublishedEvent(EiffelBaseEvent): """Eiffel artifact published event.""" - version = "3.2.0" + version = "3.3.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_artifact_reused_event.py b/src/eiffellib/events/eiffel_artifact_reused_event.py index 5db0951..8242efd 100644 --- a/src/eiffellib/events/eiffel_artifact_reused_event.py +++ b/src/eiffellib/events/eiffel_artifact_reused_event.py @@ -32,7 +32,7 @@ class EiffelArtifactReusedData(EiffelBaseData): class EiffelArtifactReusedEvent(EiffelBaseEvent): """Eiffel artifact reused event.""" - version = "3.1.0" + version = "3.2.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_composition_defined_event.py b/src/eiffellib/events/eiffel_composition_defined_event.py index 36a35bb..fbd27f8 100644 --- a/src/eiffellib/events/eiffel_composition_defined_event.py +++ b/src/eiffellib/events/eiffel_composition_defined_event.py @@ -32,7 +32,7 @@ class EiffelCompositionDefinedData(EiffelBaseData): class EiffelCompositionDefinedEvent(EiffelBaseEvent): """Eiffel composition defined event.""" - version = "3.2.0" + version = "3.3.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_confidence_level_modified_event.py b/src/eiffellib/events/eiffel_confidence_level_modified_event.py index ee7185f..982a009 100644 --- a/src/eiffellib/events/eiffel_confidence_level_modified_event.py +++ b/src/eiffellib/events/eiffel_confidence_level_modified_event.py @@ -32,7 +32,7 @@ class EiffelConfidenceLevelModifiedData(EiffelBaseData): class EiffelConfidenceLevelModifiedEvent(EiffelBaseEvent): """Eiffel confidence level modified event.""" - version = "3.1.0" + version = "3.2.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_environment_defined_event.py b/src/eiffellib/events/eiffel_environment_defined_event.py index 9ca2580..fd3df89 100644 --- a/src/eiffellib/events/eiffel_environment_defined_event.py +++ b/src/eiffellib/events/eiffel_environment_defined_event.py @@ -32,7 +32,7 @@ class EiffelEnvironmentDefinedData(EiffelBaseData): class EiffelEnvironmentDefinedEvent(EiffelBaseEvent): """Eiffel environment defined event.""" - version = "3.2.0" + version = "3.3.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_flow_context_defined_event.py b/src/eiffellib/events/eiffel_flow_context_defined_event.py index 15bfff8..f38764f 100644 --- a/src/eiffellib/events/eiffel_flow_context_defined_event.py +++ b/src/eiffellib/events/eiffel_flow_context_defined_event.py @@ -32,7 +32,7 @@ class EiffelFlowContextDefinedData(EiffelBaseData): class EiffelFlowContextDefinedEvent(EiffelBaseEvent): """Eiffel flow context defined event.""" - version = "3.1.0" + version = "3.2.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_issue_defined_event.py b/src/eiffellib/events/eiffel_issue_defined_event.py index 94da794..2cb8d5d 100644 --- a/src/eiffellib/events/eiffel_issue_defined_event.py +++ b/src/eiffellib/events/eiffel_issue_defined_event.py @@ -32,7 +32,7 @@ class EiffelIssueDefinedData(EiffelBaseData): class EiffelIssueDefinedEvent(EiffelBaseEvent): """Eiffel issue defined event.""" - version = "3.1.0" + version = "3.2.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_issue_verified_event.py b/src/eiffellib/events/eiffel_issue_verified_event.py index 12f1168..3488a95 100644 --- a/src/eiffellib/events/eiffel_issue_verified_event.py +++ b/src/eiffellib/events/eiffel_issue_verified_event.py @@ -32,7 +32,7 @@ class EiffelIssueVerifiedData(EiffelBaseData): class EiffelIssueVerifiedEvent(EiffelBaseEvent): """Eiffel issue verified event.""" - version = "4.1.0" + version = "4.2.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_source_change_created_event.py b/src/eiffellib/events/eiffel_source_change_created_event.py index 914e2b1..4f40a98 100644 --- a/src/eiffellib/events/eiffel_source_change_created_event.py +++ b/src/eiffellib/events/eiffel_source_change_created_event.py @@ -32,7 +32,7 @@ class EiffelSourceChangeCreatedData(EiffelBaseData): class EiffelSourceChangeCreatedEvent(EiffelBaseEvent): """Eiffel source change created event.""" - version = "4.1.0" + version = "4.2.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_source_change_submitted_event.py b/src/eiffellib/events/eiffel_source_change_submitted_event.py index c5ef9ad..6bf8491 100644 --- a/src/eiffellib/events/eiffel_source_change_submitted_event.py +++ b/src/eiffellib/events/eiffel_source_change_submitted_event.py @@ -32,7 +32,7 @@ class EiffelSourceChangeSubmittedData(EiffelBaseData): class EiffelSourceChangeSubmittedEvent(EiffelBaseEvent): """Eiffel source change submitted event.""" - version = "3.1.0" + version = "3.2.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_test_case_canceled_event.py b/src/eiffellib/events/eiffel_test_case_canceled_event.py index 1a86ab3..f7503bf 100644 --- a/src/eiffellib/events/eiffel_test_case_canceled_event.py +++ b/src/eiffellib/events/eiffel_test_case_canceled_event.py @@ -32,7 +32,7 @@ class EiffelTestCaseCanceledData(EiffelBaseData): class EiffelTestCaseCanceledEvent(EiffelBaseEvent): """Eiffel test case canceled event.""" - version = "3.1.0" + version = "3.2.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_test_case_finished_event.py b/src/eiffellib/events/eiffel_test_case_finished_event.py index c6ca342..56b65b0 100644 --- a/src/eiffellib/events/eiffel_test_case_finished_event.py +++ b/src/eiffellib/events/eiffel_test_case_finished_event.py @@ -32,7 +32,7 @@ class EiffelTestCaseFinishedData(EiffelBaseData): class EiffelTestCaseFinishedEvent(EiffelBaseEvent): """Eiffel test case finished event.""" - version = "3.2.0" + version = "3.3.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_test_case_started_event.py b/src/eiffellib/events/eiffel_test_case_started_event.py index 946e215..a9f5682 100644 --- a/src/eiffellib/events/eiffel_test_case_started_event.py +++ b/src/eiffellib/events/eiffel_test_case_started_event.py @@ -32,7 +32,7 @@ class EiffelTestCaseStartedData(EiffelBaseData): class EiffelTestCaseStartedEvent(EiffelBaseEvent): """Eiffel test case started event.""" - version = "3.2.0" + version = "3.3.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_test_case_triggered_event.py b/src/eiffellib/events/eiffel_test_case_triggered_event.py index bb5810d..a3f4d88 100644 --- a/src/eiffellib/events/eiffel_test_case_triggered_event.py +++ b/src/eiffellib/events/eiffel_test_case_triggered_event.py @@ -32,7 +32,7 @@ class EiffelTestCaseTriggeredData(EiffelBaseData): class EiffelTestCaseTriggeredEvent(EiffelBaseEvent): """Eiffel test case triggered event.""" - version = "3.1.0" + version = "3.2.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_test_execution_recipe_collection_created_event.py b/src/eiffellib/events/eiffel_test_execution_recipe_collection_created_event.py index 71340ca..167eb83 100644 --- a/src/eiffellib/events/eiffel_test_execution_recipe_collection_created_event.py +++ b/src/eiffellib/events/eiffel_test_execution_recipe_collection_created_event.py @@ -32,7 +32,7 @@ class EiffelTestExecutionRecipeCollectionCreatedData(EiffelBaseData): class EiffelTestExecutionRecipeCollectionCreatedEvent(EiffelBaseEvent): """Eiffel test execution recipe collection created event.""" - version = "4.1.1" + version = "4.3.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_test_suite_finished_event.py b/src/eiffellib/events/eiffel_test_suite_finished_event.py index 928bea6..d75ca8f 100644 --- a/src/eiffellib/events/eiffel_test_suite_finished_event.py +++ b/src/eiffellib/events/eiffel_test_suite_finished_event.py @@ -32,7 +32,7 @@ class EiffelTestSuiteFinishedData(EiffelBaseData): class EiffelTestSuiteFinishedEvent(EiffelBaseEvent): """Eiffel test suite finished event.""" - version = "3.2.0" + version = "3.3.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/events/eiffel_test_suite_started_event.py b/src/eiffellib/events/eiffel_test_suite_started_event.py index 854e98b..5b8ca6c 100644 --- a/src/eiffellib/events/eiffel_test_suite_started_event.py +++ b/src/eiffellib/events/eiffel_test_suite_started_event.py @@ -32,7 +32,7 @@ class EiffelTestSuiteStartedData(EiffelBaseData): class EiffelTestSuiteStartedEvent(EiffelBaseEvent): """Eiffel test suite started event.""" - version = "3.2.0" + version = "3.3.0" def __init__(self, *args, **kwargs): """Initialize data, meta and links.""" diff --git a/src/eiffellib/schemas/EiffelActivityCanceledEvent/1.0.0.json b/src/eiffellib/schemas/EiffelActivityCanceledEvent/1.0.0.json index d75c3d0..b0419e7 100644 --- a/src/eiffellib/schemas/EiffelActivityCanceledEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelActivityCanceledEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityCanceledEvent"] + "enum": [ + "EiffelActivityCanceledEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -110,8 +114,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityCanceledEvent/1.1.0.json b/src/eiffellib/schemas/EiffelActivityCanceledEvent/1.1.0.json index bdb4121..08e1d24 100644 --- a/src/eiffellib/schemas/EiffelActivityCanceledEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelActivityCanceledEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityCanceledEvent"] + "enum": [ + "EiffelActivityCanceledEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -110,8 +114,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityCanceledEvent/2.0.0.json b/src/eiffellib/schemas/EiffelActivityCanceledEvent/2.0.0.json index d42173a..7c8e281 100644 --- a/src/eiffellib/schemas/EiffelActivityCanceledEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelActivityCanceledEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityCanceledEvent"] + "enum": [ + "EiffelActivityCanceledEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -94,8 +98,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityCanceledEvent/3.0.0.json b/src/eiffellib/schemas/EiffelActivityCanceledEvent/3.0.0.json index 3c59987..edf01ca 100644 --- a/src/eiffellib/schemas/EiffelActivityCanceledEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelActivityCanceledEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityCanceledEvent"] + "enum": [ + "EiffelActivityCanceledEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -123,8 +140,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityCanceledEvent/3.1.0.json b/src/eiffellib/schemas/EiffelActivityCanceledEvent/3.1.0.json index 65f1f5e..6e8f25e 100644 --- a/src/eiffellib/schemas/EiffelActivityCanceledEvent/3.1.0.json +++ b/src/eiffellib/schemas/EiffelActivityCanceledEvent/3.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityCanceledEvent"] + "enum": [ + "EiffelActivityCanceledEvent" + ] }, "version": { "type": "string", - "enum": [ "3.1.0" ], + "enum": [ + "3.1.0" + ], "default": "3.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -123,8 +140,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityCanceledEvent/3.2.0.json b/src/eiffellib/schemas/EiffelActivityCanceledEvent/3.2.0.json new file mode 100644 index 0000000..cb4655c --- /dev/null +++ b/src/eiffellib/schemas/EiffelActivityCanceledEvent/3.2.0.json @@ -0,0 +1,188 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelActivityCanceledEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "3.2.0" + ], + "default": "3.2.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "reason": { + "type": "string" + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additonalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelActivityFinishedEvent/1.0.0.json b/src/eiffellib/schemas/EiffelActivityFinishedEvent/1.0.0.json index 1814251..98c9ef9 100644 --- a/src/eiffellib/schemas/EiffelActivityFinishedEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelActivityFinishedEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityFinishedEvent"] + "enum": [ + "EiffelActivityFinishedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -148,8 +152,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityFinishedEvent/1.1.0.json b/src/eiffellib/schemas/EiffelActivityFinishedEvent/1.1.0.json index 41c410d..00941b6 100644 --- a/src/eiffellib/schemas/EiffelActivityFinishedEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelActivityFinishedEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityFinishedEvent"] + "enum": [ + "EiffelActivityFinishedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -148,8 +152,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityFinishedEvent/2.0.0.json b/src/eiffellib/schemas/EiffelActivityFinishedEvent/2.0.0.json index a579cba..42d7b29 100644 --- a/src/eiffellib/schemas/EiffelActivityFinishedEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelActivityFinishedEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityFinishedEvent"] + "enum": [ + "EiffelActivityFinishedEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -132,8 +136,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityFinishedEvent/3.0.0.json b/src/eiffellib/schemas/EiffelActivityFinishedEvent/3.0.0.json index de018ba..c829f4a 100644 --- a/src/eiffellib/schemas/EiffelActivityFinishedEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelActivityFinishedEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityFinishedEvent"] + "enum": [ + "EiffelActivityFinishedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -161,8 +178,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityFinishedEvent/3.1.0.json b/src/eiffellib/schemas/EiffelActivityFinishedEvent/3.1.0.json index 75f0c89..978131d 100644 --- a/src/eiffellib/schemas/EiffelActivityFinishedEvent/3.1.0.json +++ b/src/eiffellib/schemas/EiffelActivityFinishedEvent/3.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityFinishedEvent"] + "enum": [ + "EiffelActivityFinishedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.1.0" ], + "enum": [ + "3.1.0" + ], "default": "3.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -170,8 +187,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityFinishedEvent/3.2.0.json b/src/eiffellib/schemas/EiffelActivityFinishedEvent/3.2.0.json index a5f4a9a..72e6185 100644 --- a/src/eiffellib/schemas/EiffelActivityFinishedEvent/3.2.0.json +++ b/src/eiffellib/schemas/EiffelActivityFinishedEvent/3.2.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityFinishedEvent"] + "enum": [ + "EiffelActivityFinishedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.2.0" ], + "enum": [ + "3.2.0" + ], "default": "3.2.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -170,8 +187,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityFinishedEvent/3.3.0.json b/src/eiffellib/schemas/EiffelActivityFinishedEvent/3.3.0.json new file mode 100644 index 0000000..48d107f --- /dev/null +++ b/src/eiffellib/schemas/EiffelActivityFinishedEvent/3.3.0.json @@ -0,0 +1,238 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelActivityFinishedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "3.3.0" + ], + "default": "3.3.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "outcome": { + "type": "object", + "properties": { + "conclusion": { + "type": "string", + "enum": [ + "SUCCESSFUL", + "UNSUCCESSFUL", + "FAILED", + "ABORTED", + "TIMED_OUT", + "INCONCLUSIVE" + ] + }, + "description": { + "type": "string" + } + }, + "required": [ + "conclusion" + ] + }, + "persistentLogs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "mediaType": { + "type": "string" + }, + "name": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "uri": { + "type": "string" + } + }, + "required": [ + "name", + "uri" + ], + "additionalProperties": false + } + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "additionalProperties": false, + "required": [ + "outcome" + ] + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelActivityStartedEvent/1.0.0.json b/src/eiffellib/schemas/EiffelActivityStartedEvent/1.0.0.json index 38c9852..afec660 100644 --- a/src/eiffellib/schemas/EiffelActivityStartedEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelActivityStartedEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityStartedEvent"] + "enum": [ + "EiffelActivityStartedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -129,8 +133,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityStartedEvent/1.1.0.json b/src/eiffellib/schemas/EiffelActivityStartedEvent/1.1.0.json index a94a9fb..1597ba5 100644 --- a/src/eiffellib/schemas/EiffelActivityStartedEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelActivityStartedEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityStartedEvent"] + "enum": [ + "EiffelActivityStartedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -129,8 +133,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityStartedEvent/2.0.0.json b/src/eiffellib/schemas/EiffelActivityStartedEvent/2.0.0.json index 6ce2791..bf71ee1 100644 --- a/src/eiffellib/schemas/EiffelActivityStartedEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelActivityStartedEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityStartedEvent"] + "enum": [ + "EiffelActivityStartedEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -113,8 +117,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityStartedEvent/3.0.0.json b/src/eiffellib/schemas/EiffelActivityStartedEvent/3.0.0.json index 2df8f27..67e968a 100644 --- a/src/eiffellib/schemas/EiffelActivityStartedEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelActivityStartedEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityStartedEvent"] + "enum": [ + "EiffelActivityStartedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -113,8 +117,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityStartedEvent/4.0.0.json b/src/eiffellib/schemas/EiffelActivityStartedEvent/4.0.0.json index 9e43e60..20e24aa 100644 --- a/src/eiffellib/schemas/EiffelActivityStartedEvent/4.0.0.json +++ b/src/eiffellib/schemas/EiffelActivityStartedEvent/4.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityStartedEvent"] + "enum": [ + "EiffelActivityStartedEvent" + ] }, "version": { "type": "string", - "enum": [ "4.0.0" ], + "enum": [ + "4.0.0" + ], "default": "4.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -142,8 +159,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityStartedEvent/4.1.0.json b/src/eiffellib/schemas/EiffelActivityStartedEvent/4.1.0.json index de1fb9d..60b27b1 100644 --- a/src/eiffellib/schemas/EiffelActivityStartedEvent/4.1.0.json +++ b/src/eiffellib/schemas/EiffelActivityStartedEvent/4.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityStartedEvent"] + "enum": [ + "EiffelActivityStartedEvent" + ] }, "version": { "type": "string", - "enum": [ "4.1.0" ], + "enum": [ + "4.1.0" + ], "default": "4.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -151,8 +168,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityStartedEvent/4.2.0.json b/src/eiffellib/schemas/EiffelActivityStartedEvent/4.2.0.json index 5976fa1..3e26a4d 100644 --- a/src/eiffellib/schemas/EiffelActivityStartedEvent/4.2.0.json +++ b/src/eiffellib/schemas/EiffelActivityStartedEvent/4.2.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityStartedEvent"] + "enum": [ + "EiffelActivityStartedEvent" + ] }, "version": { "type": "string", - "enum": [ "4.2.0" ], + "enum": [ + "4.2.0" + ], "default": "4.2.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -151,8 +168,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityStartedEvent/4.3.0.json b/src/eiffellib/schemas/EiffelActivityStartedEvent/4.3.0.json new file mode 100644 index 0000000..e2a3197 --- /dev/null +++ b/src/eiffellib/schemas/EiffelActivityStartedEvent/4.3.0.json @@ -0,0 +1,216 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelActivityStartedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "4.3.0" + ], + "default": "4.3.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "executionUri": { + "type": "string" + }, + "liveLogs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "mediaType": { + "type": "string" + }, + "name": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "uri": { + "type": "string" + } + }, + "required": [ + "name", + "uri" + ], + "additionalProperties": false + } + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelActivityTriggeredEvent/1.0.0.json b/src/eiffellib/schemas/EiffelActivityTriggeredEvent/1.0.0.json index c7eac86..c0685d8 100644 --- a/src/eiffellib/schemas/EiffelActivityTriggeredEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelActivityTriggeredEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityTriggeredEvent"] + "enum": [ + "EiffelActivityTriggeredEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -150,8 +154,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityTriggeredEvent/1.1.0.json b/src/eiffellib/schemas/EiffelActivityTriggeredEvent/1.1.0.json index 9fd7754..32db960 100644 --- a/src/eiffellib/schemas/EiffelActivityTriggeredEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelActivityTriggeredEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityTriggeredEvent"] + "enum": [ + "EiffelActivityTriggeredEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -150,8 +154,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityTriggeredEvent/2.0.0.json b/src/eiffellib/schemas/EiffelActivityTriggeredEvent/2.0.0.json index 52a991f..94319e9 100644 --- a/src/eiffellib/schemas/EiffelActivityTriggeredEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelActivityTriggeredEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityTriggeredEvent"] + "enum": [ + "EiffelActivityTriggeredEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -134,8 +138,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityTriggeredEvent/3.0.0.json b/src/eiffellib/schemas/EiffelActivityTriggeredEvent/3.0.0.json index 2ae4c38..9818f48 100644 --- a/src/eiffellib/schemas/EiffelActivityTriggeredEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelActivityTriggeredEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityTriggeredEvent"] + "enum": [ + "EiffelActivityTriggeredEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -134,8 +138,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityTriggeredEvent/4.0.0.json b/src/eiffellib/schemas/EiffelActivityTriggeredEvent/4.0.0.json index 39aa16c..229c3ab 100644 --- a/src/eiffellib/schemas/EiffelActivityTriggeredEvent/4.0.0.json +++ b/src/eiffellib/schemas/EiffelActivityTriggeredEvent/4.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityTriggeredEvent"] + "enum": [ + "EiffelActivityTriggeredEvent" + ] }, "version": { "type": "string", - "enum": [ "4.0.0" ], + "enum": [ + "4.0.0" + ], "default": "4.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -163,8 +180,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityTriggeredEvent/4.1.0.json b/src/eiffellib/schemas/EiffelActivityTriggeredEvent/4.1.0.json index 3109232..10cc488 100644 --- a/src/eiffellib/schemas/EiffelActivityTriggeredEvent/4.1.0.json +++ b/src/eiffellib/schemas/EiffelActivityTriggeredEvent/4.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelActivityTriggeredEvent"] + "enum": [ + "EiffelActivityTriggeredEvent" + ] }, "version": { "type": "string", - "enum": [ "4.1.0" ], + "enum": [ + "4.1.0" + ], "default": "4.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -163,8 +180,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelActivityTriggeredEvent/4.2.0.json b/src/eiffellib/schemas/EiffelActivityTriggeredEvent/4.2.0.json new file mode 100644 index 0000000..9dbbdad --- /dev/null +++ b/src/eiffellib/schemas/EiffelActivityTriggeredEvent/4.2.0.json @@ -0,0 +1,231 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelActivityTriggeredEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "4.2.0" + ], + "default": "4.2.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "categories": { + "type": "array", + "items": { + "type": "string" + } + }, + "triggers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "MANUAL", + "EIFFEL_EVENT", + "SOURCE_CHANGE", + "TIMER", + "OTHER" + ] + }, + "description": { + "type": "string" + } + }, + "required": [ + "type" + ], + "additionalProperties": false + } + }, + "executionType": { + "type": "string", + "enum": [ + "MANUAL", + "SEMI_AUTOMATED", + "AUTOMATED", + "OTHER" + ] + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name" + ], + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/1.0.0.json b/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/1.0.0.json index deb7b68..1e79b35 100644 --- a/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelAnnouncementPublishedEvent" ] + "enum": [ + "EiffelAnnouncementPublishedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -110,7 +114,14 @@ }, "severity": { "type": "string", - "enum": ["MINOR", "MAJOR", "CRITICAL", "BLOCKER", "CLOSED", "CANCELED"] + "enum": [ + "MINOR", + "MAJOR", + "CRITICAL", + "BLOCKER", + "CLOSED", + "CANCELED" + ] }, "customData": { "type": "array", @@ -120,8 +131,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/1.1.0.json b/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/1.1.0.json index 0e1874e..145ed05 100644 --- a/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelAnnouncementPublishedEvent" ] + "enum": [ + "EiffelAnnouncementPublishedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -110,7 +114,14 @@ }, "severity": { "type": "string", - "enum": ["MINOR", "MAJOR", "CRITICAL", "BLOCKER", "CLOSED", "CANCELED"] + "enum": [ + "MINOR", + "MAJOR", + "CRITICAL", + "BLOCKER", + "CLOSED", + "CANCELED" + ] }, "customData": { "type": "array", @@ -120,8 +131,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/2.0.0.json b/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/2.0.0.json index d3a4fd7..013da56 100644 --- a/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelAnnouncementPublishedEvent" ] + "enum": [ + "EiffelAnnouncementPublishedEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -94,7 +98,14 @@ }, "severity": { "type": "string", - "enum": ["MINOR", "MAJOR", "CRITICAL", "BLOCKER", "CLOSED", "CANCELED"] + "enum": [ + "MINOR", + "MAJOR", + "CRITICAL", + "BLOCKER", + "CLOSED", + "CANCELED" + ] }, "customData": { "type": "array", @@ -104,8 +115,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/3.0.0.json b/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/3.0.0.json index 630750d..d705cef 100644 --- a/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelAnnouncementPublishedEvent" ] + "enum": [ + "EiffelAnnouncementPublishedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -123,7 +140,14 @@ }, "severity": { "type": "string", - "enum": ["MINOR", "MAJOR", "CRITICAL", "BLOCKER", "CLOSED", "CANCELED"] + "enum": [ + "MINOR", + "MAJOR", + "CRITICAL", + "BLOCKER", + "CLOSED", + "CANCELED" + ] }, "customData": { "type": "array", @@ -133,8 +157,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/3.1.0.json b/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/3.1.0.json index 8bdaf6e..51fdc53 100644 --- a/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/3.1.0.json +++ b/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/3.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelAnnouncementPublishedEvent" ] + "enum": [ + "EiffelAnnouncementPublishedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.1.0" ], + "enum": [ + "3.1.0" + ], "default": "3.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -123,7 +140,14 @@ }, "severity": { "type": "string", - "enum": ["MINOR", "MAJOR", "CRITICAL", "BLOCKER", "CLOSED", "CANCELED"] + "enum": [ + "MINOR", + "MAJOR", + "CRITICAL", + "BLOCKER", + "CLOSED", + "CANCELED" + ] }, "customData": { "type": "array", @@ -133,8 +157,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/3.2.0.json b/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/3.2.0.json new file mode 100644 index 0000000..8e95e6c --- /dev/null +++ b/src/eiffellib/schemas/EiffelAnnouncementPublishedEvent/3.2.0.json @@ -0,0 +1,210 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelAnnouncementPublishedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "3.2.0" + ], + "default": "3.2.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "heading": { + "type": "string" + }, + "body": { + "type": "string" + }, + "uri": { + "type": "string" + }, + "severity": { + "type": "string", + "enum": [ + "MINOR", + "MAJOR", + "CRITICAL", + "BLOCKER", + "CLOSED", + "CANCELED" + ] + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "heading", + "body", + "severity" + ], + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelArtifactCreatedEvent/1.0.0.json b/src/eiffellib/schemas/EiffelArtifactCreatedEvent/1.0.0.json index 41982f4..3ef412d 100644 --- a/src/eiffellib/schemas/EiffelArtifactCreatedEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelArtifactCreatedEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelArtifactCreatedEvent"] + "enum": [ + "EiffelArtifactCreatedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -207,8 +211,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelArtifactCreatedEvent/1.1.0.json b/src/eiffellib/schemas/EiffelArtifactCreatedEvent/1.1.0.json index 7ab6147..8046880 100644 --- a/src/eiffellib/schemas/EiffelArtifactCreatedEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelArtifactCreatedEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelArtifactCreatedEvent"] + "enum": [ + "EiffelArtifactCreatedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -207,8 +211,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelArtifactCreatedEvent/2.0.0.json b/src/eiffellib/schemas/EiffelArtifactCreatedEvent/2.0.0.json index 79127e9..895f5da 100644 --- a/src/eiffellib/schemas/EiffelArtifactCreatedEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelArtifactCreatedEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelArtifactCreatedEvent"] + "enum": [ + "EiffelArtifactCreatedEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -145,8 +149,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelArtifactCreatedEvent/3.0.0.json b/src/eiffellib/schemas/EiffelArtifactCreatedEvent/3.0.0.json index f5aa379..02a5ba6 100644 --- a/src/eiffellib/schemas/EiffelArtifactCreatedEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelArtifactCreatedEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelArtifactCreatedEvent"] + "enum": [ + "EiffelArtifactCreatedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -174,8 +191,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelArtifactCreatedEvent/3.1.0.json b/src/eiffellib/schemas/EiffelArtifactCreatedEvent/3.1.0.json index 21ef47b..8057aa6 100644 --- a/src/eiffellib/schemas/EiffelArtifactCreatedEvent/3.1.0.json +++ b/src/eiffellib/schemas/EiffelArtifactCreatedEvent/3.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelArtifactCreatedEvent"] + "enum": [ + "EiffelArtifactCreatedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.1.0" ], + "enum": [ + "3.1.0" + ], "default": "3.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -174,8 +191,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelArtifactCreatedEvent/3.2.0.json b/src/eiffellib/schemas/EiffelArtifactCreatedEvent/3.2.0.json new file mode 100644 index 0000000..0f25111 --- /dev/null +++ b/src/eiffellib/schemas/EiffelArtifactCreatedEvent/3.2.0.json @@ -0,0 +1,242 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelArtifactCreatedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "3.2.0" + ], + "default": "3.2.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "identity": { + "type": "string", + "pattern": "^pkg:" + }, + "fileInformation": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "name" + ], + "additionalProperties": false + } + }, + "buildCommand": { + "type": "string" + }, + "requiresImplementation": { + "type": "string", + "enum": [ + "NONE", + "ANY", + "EXACTLY_ONE", + "AT_LEAST_ONE" + ] + }, + "dependsOn": { + "type": "array", + "items": { + "type": "string", + "pattern": "^pkg:" + } + }, + "implements": { + "type": "array", + "items": { + "type": "string", + "pattern": "^pkg:" + } + }, + "name": { + "type": "string" + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "identity" + ], + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelArtifactCreatedEvent/3.3.0.json b/src/eiffellib/schemas/EiffelArtifactCreatedEvent/3.3.0.json new file mode 100644 index 0000000..5b8adba --- /dev/null +++ b/src/eiffellib/schemas/EiffelArtifactCreatedEvent/3.3.0.json @@ -0,0 +1,267 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelArtifactCreatedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "3.3.0" + ], + "default": "3.3.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "identity": { + "type": "string", + "pattern": "^pkg:" + }, + "fileInformation": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "integrityProtection": { + "type": "object", + "properties": { + "alg": { + "type": "string", + "enum": [ + "SHA-224", + "SHA-256", + "SHA-384", + "SHA-512", + "SHA-512/224", + "SHA-512/256" + ] + }, + "digest": { + "type": "string", + "pattern": "^[0-9a-f]+$" + } + }, + "required": [ + "alg", + "digest" + ], + "additionalProperties": false + } + }, + "required": [ + "name" + ], + "additionalProperties": false + } + }, + "buildCommand": { + "type": "string" + }, + "requiresImplementation": { + "type": "string", + "enum": [ + "NONE", + "ANY", + "EXACTLY_ONE", + "AT_LEAST_ONE" + ] + }, + "dependsOn": { + "type": "array", + "items": { + "type": "string", + "pattern": "^pkg:" + } + }, + "implements": { + "type": "array", + "items": { + "type": "string", + "pattern": "^pkg:" + } + }, + "name": { + "type": "string" + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "identity" + ], + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelArtifactPublishedEvent/1.0.0.json b/src/eiffellib/schemas/EiffelArtifactPublishedEvent/1.0.0.json index 2326c89..4e62b0a 100644 --- a/src/eiffellib/schemas/EiffelArtifactPublishedEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelArtifactPublishedEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelArtifactPublishedEvent"] + "enum": [ + "EiffelArtifactPublishedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -132,8 +136,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelArtifactPublishedEvent/1.1.0.json b/src/eiffellib/schemas/EiffelArtifactPublishedEvent/1.1.0.json index f2681ee..a1c00a3 100644 --- a/src/eiffellib/schemas/EiffelArtifactPublishedEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelArtifactPublishedEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelArtifactPublishedEvent"] + "enum": [ + "EiffelArtifactPublishedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -132,8 +136,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelArtifactPublishedEvent/2.0.0.json b/src/eiffellib/schemas/EiffelArtifactPublishedEvent/2.0.0.json index 412f352..a37c62b 100644 --- a/src/eiffellib/schemas/EiffelArtifactPublishedEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelArtifactPublishedEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelArtifactPublishedEvent"] + "enum": [ + "EiffelArtifactPublishedEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -116,8 +120,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelArtifactPublishedEvent/3.0.0.json b/src/eiffellib/schemas/EiffelArtifactPublishedEvent/3.0.0.json index 826aa6c..2ef053d 100644 --- a/src/eiffellib/schemas/EiffelArtifactPublishedEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelArtifactPublishedEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelArtifactPublishedEvent"] + "enum": [ + "EiffelArtifactPublishedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -145,8 +162,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelArtifactPublishedEvent/3.1.0.json b/src/eiffellib/schemas/EiffelArtifactPublishedEvent/3.1.0.json index a06e211..bf841c0 100644 --- a/src/eiffellib/schemas/EiffelArtifactPublishedEvent/3.1.0.json +++ b/src/eiffellib/schemas/EiffelArtifactPublishedEvent/3.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelArtifactPublishedEvent"] + "enum": [ + "EiffelArtifactPublishedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.1.0" ], + "enum": [ + "3.1.0" + ], "default": "3.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -148,8 +165,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelArtifactPublishedEvent/3.2.0.json b/src/eiffellib/schemas/EiffelArtifactPublishedEvent/3.2.0.json index fdf613d..fcbf7d4 100644 --- a/src/eiffellib/schemas/EiffelArtifactPublishedEvent/3.2.0.json +++ b/src/eiffellib/schemas/EiffelArtifactPublishedEvent/3.2.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelArtifactPublishedEvent"] + "enum": [ + "EiffelArtifactPublishedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.2.0" ], + "enum": [ + "3.2.0" + ], "default": "3.2.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -148,8 +165,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelArtifactPublishedEvent/3.3.0.json b/src/eiffellib/schemas/EiffelArtifactPublishedEvent/3.3.0.json new file mode 100644 index 0000000..91f5f92 --- /dev/null +++ b/src/eiffellib/schemas/EiffelArtifactPublishedEvent/3.3.0.json @@ -0,0 +1,216 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelArtifactPublishedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "3.3.0" + ], + "default": "3.3.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "locations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "ARTIFACTORY", + "NEXUS", + "PLAIN", + "OTHER" + ] + }, + "uri": { + "type": "string" + } + }, + "required": [ + "type", + "uri" + ], + "additionalProperties": false + } + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "locations" + ], + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelArtifactReusedEvent/1.0.0.json b/src/eiffellib/schemas/EiffelArtifactReusedEvent/1.0.0.json index fe05703..4696840 100644 --- a/src/eiffellib/schemas/EiffelArtifactReusedEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelArtifactReusedEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelArtifactReusedEvent" ] + "enum": [ + "EiffelArtifactReusedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -107,8 +111,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelArtifactReusedEvent/1.1.0.json b/src/eiffellib/schemas/EiffelArtifactReusedEvent/1.1.0.json index c7b9edc..6c21a79 100644 --- a/src/eiffellib/schemas/EiffelArtifactReusedEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelArtifactReusedEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelArtifactReusedEvent" ] + "enum": [ + "EiffelArtifactReusedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -107,8 +111,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelArtifactReusedEvent/2.0.0.json b/src/eiffellib/schemas/EiffelArtifactReusedEvent/2.0.0.json index 3e66912..1a7e206 100644 --- a/src/eiffellib/schemas/EiffelArtifactReusedEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelArtifactReusedEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelArtifactReusedEvent" ] + "enum": [ + "EiffelArtifactReusedEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -91,8 +95,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelArtifactReusedEvent/3.0.0.json b/src/eiffellib/schemas/EiffelArtifactReusedEvent/3.0.0.json index 750cedc..a51ca7a 100644 --- a/src/eiffellib/schemas/EiffelArtifactReusedEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelArtifactReusedEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelArtifactReusedEvent" ] + "enum": [ + "EiffelArtifactReusedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -120,8 +137,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelArtifactReusedEvent/3.1.0.json b/src/eiffellib/schemas/EiffelArtifactReusedEvent/3.1.0.json index 0d6ffb6..dc964a8 100644 --- a/src/eiffellib/schemas/EiffelArtifactReusedEvent/3.1.0.json +++ b/src/eiffellib/schemas/EiffelArtifactReusedEvent/3.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelArtifactReusedEvent" ] + "enum": [ + "EiffelArtifactReusedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.1.0" ], + "enum": [ + "3.1.0" + ], "default": "3.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -120,8 +137,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelArtifactReusedEvent/3.2.0.json b/src/eiffellib/schemas/EiffelArtifactReusedEvent/3.2.0.json new file mode 100644 index 0000000..f05fe8b --- /dev/null +++ b/src/eiffellib/schemas/EiffelArtifactReusedEvent/3.2.0.json @@ -0,0 +1,185 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelArtifactReusedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "3.2.0" + ], + "default": "3.2.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelCompositionDefinedEvent/1.0.0.json b/src/eiffellib/schemas/EiffelCompositionDefinedEvent/1.0.0.json index e9684d8..25fc64e 100644 --- a/src/eiffellib/schemas/EiffelCompositionDefinedEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelCompositionDefinedEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelCompositionDefinedEvent" ] + "enum": [ + "EiffelCompositionDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -113,8 +117,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelCompositionDefinedEvent/1.1.0.json b/src/eiffellib/schemas/EiffelCompositionDefinedEvent/1.1.0.json index 702bea9..bdbbefa 100644 --- a/src/eiffellib/schemas/EiffelCompositionDefinedEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelCompositionDefinedEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelCompositionDefinedEvent" ] + "enum": [ + "EiffelCompositionDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -113,8 +117,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelCompositionDefinedEvent/2.0.0.json b/src/eiffellib/schemas/EiffelCompositionDefinedEvent/2.0.0.json index f1eb0fb..f967586 100644 --- a/src/eiffellib/schemas/EiffelCompositionDefinedEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelCompositionDefinedEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelCompositionDefinedEvent" ] + "enum": [ + "EiffelCompositionDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -97,8 +101,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelCompositionDefinedEvent/3.0.0.json b/src/eiffellib/schemas/EiffelCompositionDefinedEvent/3.0.0.json index f40d9e4..ac4e0bb 100644 --- a/src/eiffellib/schemas/EiffelCompositionDefinedEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelCompositionDefinedEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelCompositionDefinedEvent" ] + "enum": [ + "EiffelCompositionDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -126,8 +143,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelCompositionDefinedEvent/3.1.0.json b/src/eiffellib/schemas/EiffelCompositionDefinedEvent/3.1.0.json index 5318b4a..3aa50e1 100644 --- a/src/eiffellib/schemas/EiffelCompositionDefinedEvent/3.1.0.json +++ b/src/eiffellib/schemas/EiffelCompositionDefinedEvent/3.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelCompositionDefinedEvent" ] + "enum": [ + "EiffelCompositionDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.1.0" ], + "enum": [ + "3.1.0" + ], "default": "3.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -126,8 +143,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelCompositionDefinedEvent/3.2.0.json b/src/eiffellib/schemas/EiffelCompositionDefinedEvent/3.2.0.json index ede9644..31338af 100644 --- a/src/eiffellib/schemas/EiffelCompositionDefinedEvent/3.2.0.json +++ b/src/eiffellib/schemas/EiffelCompositionDefinedEvent/3.2.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelCompositionDefinedEvent" ] + "enum": [ + "EiffelCompositionDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.2.0" ], + "enum": [ + "3.2.0" + ], "default": "3.2.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -126,8 +143,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelCompositionDefinedEvent/3.3.0.json b/src/eiffellib/schemas/EiffelCompositionDefinedEvent/3.3.0.json new file mode 100644 index 0000000..f97e164 --- /dev/null +++ b/src/eiffellib/schemas/EiffelCompositionDefinedEvent/3.3.0.json @@ -0,0 +1,194 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelCompositionDefinedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "3.3.0" + ], + "default": "3.3.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string" + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name" + ], + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/1.0.0.json b/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/1.0.0.json index 3be48d1..5a17ccc 100644 --- a/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelConfidenceLevelModifiedEvent"] + "enum": [ + "EiffelConfidenceLevelModifiedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -104,7 +108,11 @@ }, "value": { "type": "string", - "enum": ["SUCCESS", "FAILURE", "INCONCLUSIVE"] + "enum": [ + "SUCCESS", + "FAILURE", + "INCONCLUSIVE" + ] }, "issuer": { "type": "object", @@ -132,8 +140,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/1.1.0.json b/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/1.1.0.json index dbb7015..7e79d56 100644 --- a/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelConfidenceLevelModifiedEvent"] + "enum": [ + "EiffelConfidenceLevelModifiedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -104,7 +108,11 @@ }, "value": { "type": "string", - "enum": ["SUCCESS", "FAILURE", "INCONCLUSIVE"] + "enum": [ + "SUCCESS", + "FAILURE", + "INCONCLUSIVE" + ] }, "issuer": { "type": "object", @@ -132,8 +140,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/2.0.0.json b/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/2.0.0.json index e37ceb8..713d506 100644 --- a/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelConfidenceLevelModifiedEvent"] + "enum": [ + "EiffelConfidenceLevelModifiedEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -88,7 +92,11 @@ }, "value": { "type": "string", - "enum": ["SUCCESS", "FAILURE", "INCONCLUSIVE"] + "enum": [ + "SUCCESS", + "FAILURE", + "INCONCLUSIVE" + ] }, "issuer": { "type": "object", @@ -116,8 +124,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/3.0.0.json b/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/3.0.0.json index 4901ce8..d432794 100644 --- a/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelConfidenceLevelModifiedEvent"] + "enum": [ + "EiffelConfidenceLevelModifiedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -117,7 +134,11 @@ }, "value": { "type": "string", - "enum": ["SUCCESS", "FAILURE", "INCONCLUSIVE"] + "enum": [ + "SUCCESS", + "FAILURE", + "INCONCLUSIVE" + ] }, "issuer": { "type": "object", @@ -145,8 +166,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/3.1.0.json b/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/3.1.0.json index d34b5cb..f5934a7 100644 --- a/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/3.1.0.json +++ b/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/3.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": ["EiffelConfidenceLevelModifiedEvent"] + "enum": [ + "EiffelConfidenceLevelModifiedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.1.0" ], + "enum": [ + "3.1.0" + ], "default": "3.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -117,7 +134,11 @@ }, "value": { "type": "string", - "enum": ["SUCCESS", "FAILURE", "INCONCLUSIVE"] + "enum": [ + "SUCCESS", + "FAILURE", + "INCONCLUSIVE" + ] }, "issuer": { "type": "object", @@ -145,8 +166,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/3.2.0.json b/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/3.2.0.json new file mode 100644 index 0000000..d63e2a3 --- /dev/null +++ b/src/eiffellib/schemas/EiffelConfidenceLevelModifiedEvent/3.2.0.json @@ -0,0 +1,218 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelConfidenceLevelModifiedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "3.2.0" + ], + "default": "3.2.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "INCONCLUSIVE" + ] + }, + "issuer": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "id": { + "type": "string" + }, + "group": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name", + "value" + ], + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/1.0.0.json b/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/1.0.0.json index 6ae0feb..960a17c 100644 --- a/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelEnvironmentDefinedEvent" ] + "enum": [ + "EiffelEnvironmentDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -135,8 +139,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/1.1.0.json b/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/1.1.0.json index 501f5fd..a8f8e6a 100644 --- a/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelEnvironmentDefinedEvent" ] + "enum": [ + "EiffelEnvironmentDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -135,8 +139,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/2.0.0.json b/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/2.0.0.json index e0d3f7e..5401e70 100644 --- a/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelEnvironmentDefinedEvent" ] + "enum": [ + "EiffelEnvironmentDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -119,8 +123,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/3.0.0.json b/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/3.0.0.json index b3e2257..3f1d9bc 100644 --- a/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelEnvironmentDefinedEvent" ] + "enum": [ + "EiffelEnvironmentDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -148,8 +165,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/3.1.0.json b/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/3.1.0.json index bc8b6ee..b4bca57 100644 --- a/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/3.1.0.json +++ b/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/3.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelEnvironmentDefinedEvent" ] + "enum": [ + "EiffelEnvironmentDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.1.0" ], + "enum": [ + "3.1.0" + ], "default": "3.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -148,8 +165,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/3.2.0.json b/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/3.2.0.json index c6d0e6b..b2883fb 100644 --- a/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/3.2.0.json +++ b/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/3.2.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelEnvironmentDefinedEvent" ] + "enum": [ + "EiffelEnvironmentDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.2.0" ], + "enum": [ + "3.2.0" + ], "default": "3.2.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -148,8 +165,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/3.3.0.json b/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/3.3.0.json new file mode 100644 index 0000000..a8f04fd --- /dev/null +++ b/src/eiffellib/schemas/EiffelEnvironmentDefinedEvent/3.3.0.json @@ -0,0 +1,216 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelEnvironmentDefinedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "3.3.0" + ], + "default": "3.3.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string" + }, + "image": { + "type": "string" + }, + "host": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "required": [ + "name", + "user" + ], + "additionalProperties": false + }, + "uri": { + "type": "string" + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name" + ], + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/1.0.0.json b/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/1.0.0.json index bc61de9..08dd362 100644 --- a/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelFlowContextDefinedEvent" ] + "enum": [ + "EiffelFlowContextDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -122,8 +126,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/1.1.0.json b/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/1.1.0.json index cf16603..e16bb94 100644 --- a/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelFlowContextDefinedEvent" ] + "enum": [ + "EiffelFlowContextDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -122,8 +126,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/2.0.0.json b/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/2.0.0.json index e6f9e8f..eb08cec 100644 --- a/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelFlowContextDefinedEvent" ] + "enum": [ + "EiffelFlowContextDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -106,8 +110,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/3.0.0.json b/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/3.0.0.json index 96d1198..0c1adbe 100644 --- a/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelFlowContextDefinedEvent" ] + "enum": [ + "EiffelFlowContextDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -135,8 +152,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/3.1.0.json b/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/3.1.0.json index ab90ed6..97c3d09 100644 --- a/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/3.1.0.json +++ b/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/3.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelFlowContextDefinedEvent" ] + "enum": [ + "EiffelFlowContextDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.1.0" ], + "enum": [ + "3.1.0" + ], "default": "3.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -135,8 +152,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/3.2.0.json b/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/3.2.0.json new file mode 100644 index 0000000..bcd590d --- /dev/null +++ b/src/eiffellib/schemas/EiffelFlowContextDefinedEvent/3.2.0.json @@ -0,0 +1,200 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelFlowContextDefinedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "3.2.0" + ], + "default": "3.2.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "product": { + "type": "string" + }, + "project": { + "type": "string" + }, + "program": { + "type": "string" + }, + "track": { + "type": "string" + }, + "version": { + "type": "string" + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelIssueDefinedEvent/1.0.0.json b/src/eiffellib/schemas/EiffelIssueDefinedEvent/1.0.0.json index 2ceed9f..56d27a2 100644 --- a/src/eiffellib/schemas/EiffelIssueDefinedEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelIssueDefinedEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelIssueDefinedEvent" ] + "enum": [ + "EiffelIssueDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -130,8 +134,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelIssueDefinedEvent/2.0.0.json b/src/eiffellib/schemas/EiffelIssueDefinedEvent/2.0.0.json index 28ecef2..0dc4609 100644 --- a/src/eiffellib/schemas/EiffelIssueDefinedEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelIssueDefinedEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelIssueDefinedEvent" ] + "enum": [ + "EiffelIssueDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -114,8 +118,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelIssueDefinedEvent/3.0.0.json b/src/eiffellib/schemas/EiffelIssueDefinedEvent/3.0.0.json index d06914d..ca3b4e3 100644 --- a/src/eiffellib/schemas/EiffelIssueDefinedEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelIssueDefinedEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelIssueDefinedEvent" ] + "enum": [ + "EiffelIssueDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -143,8 +160,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelIssueDefinedEvent/3.1.0.json b/src/eiffellib/schemas/EiffelIssueDefinedEvent/3.1.0.json index bb6d0e2..6e2c72b 100644 --- a/src/eiffellib/schemas/EiffelIssueDefinedEvent/3.1.0.json +++ b/src/eiffellib/schemas/EiffelIssueDefinedEvent/3.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelIssueDefinedEvent" ] + "enum": [ + "EiffelIssueDefinedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.1.0" ], + "enum": [ + "3.1.0" + ], "default": "3.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -143,8 +160,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelIssueDefinedEvent/3.2.0.json b/src/eiffellib/schemas/EiffelIssueDefinedEvent/3.2.0.json new file mode 100644 index 0000000..2c6ca5c --- /dev/null +++ b/src/eiffellib/schemas/EiffelIssueDefinedEvent/3.2.0.json @@ -0,0 +1,208 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelIssueDefinedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "3.2.0" + ], + "default": "3.2.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "BUG", + "IMPROVEMENT", + "FEATURE", + "WORK_ITEM", + "REQUIREMENT", + "OTHER" + ] + }, + "tracker": { + "type": "string" + }, + "id": { + "type": "string" + }, + "uri": { + "type": "string" + }, + "title": { + "type": "string" + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "type", + "tracker", + "id", + "uri" + ], + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + } +} diff --git a/src/eiffellib/schemas/EiffelIssueVerifiedEvent/1.0.0.json b/src/eiffellib/schemas/EiffelIssueVerifiedEvent/1.0.0.json index e555196..c253f7b 100644 --- a/src/eiffellib/schemas/EiffelIssueVerifiedEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelIssueVerifiedEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelIssueVerifiedEvent" ] + "enum": [ + "EiffelIssueVerifiedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -151,8 +155,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelIssueVerifiedEvent/1.1.0.json b/src/eiffellib/schemas/EiffelIssueVerifiedEvent/1.1.0.json index 32e24e5..c07989b 100644 --- a/src/eiffellib/schemas/EiffelIssueVerifiedEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelIssueVerifiedEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelIssueVerifiedEvent" ] + "enum": [ + "EiffelIssueVerifiedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -151,8 +155,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelIssueVerifiedEvent/2.0.0.json b/src/eiffellib/schemas/EiffelIssueVerifiedEvent/2.0.0.json index 5e46573..a84300e 100644 --- a/src/eiffellib/schemas/EiffelIssueVerifiedEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelIssueVerifiedEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelIssueVerifiedEvent" ] + "enum": [ + "EiffelIssueVerifiedEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -107,8 +111,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", @@ -147,4 +150,4 @@ "links" ], "additionalProperties": false -} \ No newline at end of file +} diff --git a/src/eiffellib/schemas/EiffelIssueVerifiedEvent/3.0.0.json b/src/eiffellib/schemas/EiffelIssueVerifiedEvent/3.0.0.json index bba05cc..99038b6 100644 --- a/src/eiffellib/schemas/EiffelIssueVerifiedEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelIssueVerifiedEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelIssueVerifiedEvent" ] + "enum": [ + "EiffelIssueVerifiedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -91,8 +95,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelIssueVerifiedEvent/4.0.0.json b/src/eiffellib/schemas/EiffelIssueVerifiedEvent/4.0.0.json index ac790b3..bbdd0d6 100644 --- a/src/eiffellib/schemas/EiffelIssueVerifiedEvent/4.0.0.json +++ b/src/eiffellib/schemas/EiffelIssueVerifiedEvent/4.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelIssueVerifiedEvent" ] + "enum": [ + "EiffelIssueVerifiedEvent" + ] }, "version": { "type": "string", - "enum": [ "4.0.0" ], + "enum": [ + "4.0.0" + ], "default": "4.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -120,8 +137,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelIssueVerifiedEvent/4.1.0.json b/src/eiffellib/schemas/EiffelIssueVerifiedEvent/4.1.0.json index c72a67b..ef54d26 100644 --- a/src/eiffellib/schemas/EiffelIssueVerifiedEvent/4.1.0.json +++ b/src/eiffellib/schemas/EiffelIssueVerifiedEvent/4.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelIssueVerifiedEvent" ] + "enum": [ + "EiffelIssueVerifiedEvent" + ] }, "version": { "type": "string", - "enum": [ "4.1.0" ], + "enum": [ + "4.1.0" + ], "default": "4.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -120,8 +137,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelIssueVerifiedEvent/4.2.0.json b/src/eiffellib/schemas/EiffelIssueVerifiedEvent/4.2.0.json new file mode 100644 index 0000000..0bd3548 --- /dev/null +++ b/src/eiffellib/schemas/EiffelIssueVerifiedEvent/4.2.0.json @@ -0,0 +1,185 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelIssueVerifiedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "4.2.0" + ], + "default": "4.2.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/1.0.0.json b/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/1.0.0.json index 9be72fa..d173dd9 100644 --- a/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelSourceChangeCreatedEvent" ] + "enum": [ + "EiffelSourceChangeCreatedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -282,8 +286,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/1.1.0.json b/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/1.1.0.json index 6cf1a77..4b3321d 100644 --- a/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelSourceChangeCreatedEvent" ] + "enum": [ + "EiffelSourceChangeCreatedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -282,8 +286,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/2.0.0.json b/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/2.0.0.json index fc0edd0..d1eef82 100644 --- a/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelSourceChangeCreatedEvent" ] + "enum": [ + "EiffelSourceChangeCreatedEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -239,8 +243,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/3.0.0.json b/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/3.0.0.json index 7ece95a..b00998c 100644 --- a/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelSourceChangeCreatedEvent" ] + "enum": [ + "EiffelSourceChangeCreatedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -223,8 +227,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/4.0.0.json b/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/4.0.0.json index 722c335..b299705 100644 --- a/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/4.0.0.json +++ b/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/4.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelSourceChangeCreatedEvent" ] + "enum": [ + "EiffelSourceChangeCreatedEvent" + ] }, "version": { "type": "string", - "enum": [ "4.0.0" ], + "enum": [ + "4.0.0" + ], "default": "4.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -252,8 +269,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/4.1.0.json b/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/4.1.0.json index 6960309..f9f5c56 100644 --- a/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/4.1.0.json +++ b/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/4.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelSourceChangeCreatedEvent" ] + "enum": [ + "EiffelSourceChangeCreatedEvent" + ] }, "version": { "type": "string", - "enum": [ "4.1.0" ], + "enum": [ + "4.1.0" + ], "default": "4.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -252,8 +269,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/4.2.0.json b/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/4.2.0.json new file mode 100644 index 0000000..1d8ef21 --- /dev/null +++ b/src/eiffellib/schemas/EiffelSourceChangeCreatedEvent/4.2.0.json @@ -0,0 +1,317 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelSourceChangeCreatedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "4.2.0" + ], + "default": "4.2.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "author": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "id": { + "type": "string" + }, + "group": { + "type": "string" + } + }, + "additionalProperties": false + }, + "change": { + "type": "object", + "properties": { + "insertions": { + "type": "integer" + }, + "deletions": { + "type": "integer" + }, + "files": { + "type": "string" + }, + "details": { + "type": "string" + }, + "tracker": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false + }, + "gitIdentifier": { + "type": "object", + "properties": { + "commitId": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "repoName": { + "type": "string" + }, + "repoUri": { + "type": "string" + } + }, + "required": [ + "commitId", + "repoUri" + ], + "additionalProperties": false + }, + "svnIdentifier": { + "type": "object", + "properties": { + "revision": { + "type": "integer" + }, + "directory": { + "type": "string" + }, + "repoName": { + "type": "string" + }, + "repoUri": { + "type": "string" + } + }, + "required": [ + "revision", + "directory", + "repoUri" + ], + "additionalProperties": false + }, + "ccCompositeIdentifier": { + "type": "object", + "properties": { + "vobs": { + "type": "array", + "items": { + "type": "string" + } + }, + "branch": { + "type": "string" + }, + "configSpec": { + "type": "string" + } + }, + "required": [ + "vobs", + "branch", + "configSpec" + ], + "additionalProperties": false + }, + "hgIdentifier": { + "type": "object", + "properties": { + "commitId": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "repoName": { + "type": "string" + }, + "repoUri": { + "type": "string" + } + }, + "required": [ + "commitId", + "repoUri" + ], + "additionalProperties": false + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/1.0.0.json b/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/1.0.0.json index b5320d4..7039fa7 100644 --- a/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelSourceChangeSubmittedEvent" ] + "enum": [ + "EiffelSourceChangeSubmittedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -215,8 +219,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/1.1.0.json b/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/1.1.0.json index ad0ccbc..141d6fd 100644 --- a/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelSourceChangeSubmittedEvent" ] + "enum": [ + "EiffelSourceChangeSubmittedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -215,8 +219,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/2.0.0.json b/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/2.0.0.json index 785e842..f6210bd 100644 --- a/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelSourceChangeSubmittedEvent" ] + "enum": [ + "EiffelSourceChangeSubmittedEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -199,8 +203,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/3.0.0.json b/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/3.0.0.json index f5d2d9a..196ea28 100644 --- a/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelSourceChangeSubmittedEvent" ] + "enum": [ + "EiffelSourceChangeSubmittedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -228,8 +245,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/3.1.0.json b/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/3.1.0.json index b9156f7..b61db27 100644 --- a/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/3.1.0.json +++ b/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/3.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelSourceChangeSubmittedEvent" ] + "enum": [ + "EiffelSourceChangeSubmittedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.1.0" ], + "enum": [ + "3.1.0" + ], "default": "3.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -228,8 +245,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/3.2.0.json b/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/3.2.0.json new file mode 100644 index 0000000..86b10b6 --- /dev/null +++ b/src/eiffellib/schemas/EiffelSourceChangeSubmittedEvent/3.2.0.json @@ -0,0 +1,293 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelSourceChangeSubmittedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "3.2.0" + ], + "default": "3.2.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "submitter": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "id": { + "type": "string" + }, + "group": { + "type": "string" + } + }, + "additionalProperties": false + }, + "gitIdentifier": { + "type": "object", + "properties": { + "commitId": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "repoName": { + "type": "string" + }, + "repoUri": { + "type": "string" + } + }, + "required": [ + "commitId", + "repoUri" + ], + "additionalProperties": false + }, + "svnIdentifier": { + "type": "object", + "properties": { + "revision": { + "type": "integer" + }, + "directory": { + "type": "string" + }, + "repoName": { + "type": "string" + }, + "repoUri": { + "type": "string" + } + }, + "required": [ + "revision", + "directory", + "repoUri" + ], + "additionalProperties": false + }, + "ccCompositeIdentifier": { + "type": "object", + "properties": { + "vobs": { + "type": "array", + "items": { + "type": "string" + } + }, + "branch": { + "type": "string" + }, + "configSpec": { + "type": "string" + } + }, + "required": [ + "vobs", + "branch", + "configSpec" + ], + "additionalProperties": false + }, + "hgIdentifier": { + "type": "object", + "properties": { + "commitId": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "repoName": { + "type": "string" + }, + "repoUri": { + "type": "string" + } + }, + "required": [ + "commitId", + "repoUri" + ], + "additionalProperties": false + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/1.0.0.json b/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/1.0.0.json index 6ecddd1..1ea9a79 100644 --- a/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseCanceledEvent" ] + "enum": [ + "EiffelTestCaseCanceledEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -110,8 +114,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/1.1.0.json b/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/1.1.0.json index e4ff2c1..0f3f65a 100644 --- a/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseCanceledEvent" ] + "enum": [ + "EiffelTestCaseCanceledEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -110,8 +114,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/2.0.0.json b/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/2.0.0.json index 81d1494..28f5e52 100644 --- a/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseCanceledEvent" ] + "enum": [ + "EiffelTestCaseCanceledEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -94,8 +98,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/3.0.0.json b/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/3.0.0.json index 4cc1f30..2afa307 100644 --- a/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseCanceledEvent" ] + "enum": [ + "EiffelTestCaseCanceledEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -123,8 +140,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/3.1.0.json b/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/3.1.0.json index e8da2eb..a451a5a 100644 --- a/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/3.1.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/3.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseCanceledEvent" ] + "enum": [ + "EiffelTestCaseCanceledEvent" + ] }, "version": { "type": "string", - "enum": [ "3.1.0" ], + "enum": [ + "3.1.0" + ], "default": "3.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -123,8 +140,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/3.2.0.json b/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/3.2.0.json new file mode 100644 index 0000000..012bbe2 --- /dev/null +++ b/src/eiffellib/schemas/EiffelTestCaseCanceledEvent/3.2.0.json @@ -0,0 +1,188 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelTestCaseCanceledEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "3.2.0" + ], + "default": "3.2.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "reason": { + "type": "string" + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/1.0.0.json b/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/1.0.0.json index 99e751c..1e3545c 100644 --- a/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseFinishedEvent" ] + "enum": [ + "EiffelTestCaseFinishedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -131,8 +135,7 @@ "name": { "type": "string" }, - "value": { - } + "value": {} }, "additionalProperties": false } @@ -171,8 +174,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/1.0.1.json b/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/1.0.1.json index 1ad02f6..392a521 100644 --- a/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/1.0.1.json +++ b/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/1.0.1.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseFinishedEvent" ] + "enum": [ + "EiffelTestCaseFinishedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.1" ], + "enum": [ + "1.0.1" + ], "default": "1.0.1" }, "time": { @@ -131,8 +135,7 @@ "name": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "name", @@ -175,8 +178,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/1.1.0.json b/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/1.1.0.json index 22110be..df1007c 100644 --- a/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseFinishedEvent" ] + "enum": [ + "EiffelTestCaseFinishedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -131,8 +135,7 @@ "name": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "name", @@ -175,8 +178,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/2.0.0.json b/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/2.0.0.json index bc46aa1..b289e0f 100644 --- a/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseFinishedEvent" ] + "enum": [ + "EiffelTestCaseFinishedEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -115,8 +119,7 @@ "name": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "name", @@ -159,8 +162,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/3.0.0.json b/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/3.0.0.json index 54ff32c..23da43e 100644 --- a/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseFinishedEvent" ] + "enum": [ + "EiffelTestCaseFinishedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -144,8 +161,7 @@ "name": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "name", @@ -188,8 +204,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/3.1.0.json b/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/3.1.0.json index 4aed05f..a84a5a1 100644 --- a/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/3.1.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/3.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseFinishedEvent" ] + "enum": [ + "EiffelTestCaseFinishedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.1.0" ], + "enum": [ + "3.1.0" + ], "default": "3.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -144,8 +161,7 @@ "name": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "name", @@ -197,8 +213,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/3.2.0.json b/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/3.2.0.json index 95bee72..e2eb81c 100644 --- a/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/3.2.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/3.2.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseFinishedEvent" ] + "enum": [ + "EiffelTestCaseFinishedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.2.0" ], + "enum": [ + "3.2.0" + ], "default": "3.2.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -144,8 +161,7 @@ "name": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "name", @@ -197,8 +213,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/3.3.0.json b/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/3.3.0.json new file mode 100644 index 0000000..8303747 --- /dev/null +++ b/src/eiffellib/schemas/EiffelTestCaseFinishedEvent/3.3.0.json @@ -0,0 +1,264 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelTestCaseFinishedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "3.3.0" + ], + "default": "3.3.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "outcome": { + "type": "object", + "properties": { + "verdict": { + "type": "string", + "enum": [ + "PASSED", + "FAILED", + "INCONCLUSIVE" + ] + }, + "conclusion": { + "type": "string", + "enum": [ + "SUCCESSFUL", + "FAILED", + "ABORTED", + "TIMED_OUT", + "INCONCLUSIVE" + ] + }, + "description": { + "type": "string" + }, + "metrics": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": {} + }, + "required": [ + "name", + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "verdict", + "conclusion" + ], + "additionalProperties": false + }, + "persistentLogs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "mediaType": { + "type": "string" + }, + "name": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "uri": { + "type": "string" + } + }, + "required": [ + "name", + "uri" + ], + "additionalProperties": false + } + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outcome" + ], + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelTestCaseStartedEvent/1.0.0.json b/src/eiffellib/schemas/EiffelTestCaseStartedEvent/1.0.0.json index 63b3185..68b3a08 100644 --- a/src/eiffellib/schemas/EiffelTestCaseStartedEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseStartedEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseStartedEvent" ] + "enum": [ + "EiffelTestCaseStartedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -129,8 +133,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseStartedEvent/1.1.0.json b/src/eiffellib/schemas/EiffelTestCaseStartedEvent/1.1.0.json index 79cf888..b4ed6af 100644 --- a/src/eiffellib/schemas/EiffelTestCaseStartedEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseStartedEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseStartedEvent" ] + "enum": [ + "EiffelTestCaseStartedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -129,8 +133,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseStartedEvent/2.0.0.json b/src/eiffellib/schemas/EiffelTestCaseStartedEvent/2.0.0.json index b18c83c..1c0f164 100644 --- a/src/eiffellib/schemas/EiffelTestCaseStartedEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseStartedEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseStartedEvent" ] + "enum": [ + "EiffelTestCaseStartedEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -113,8 +117,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseStartedEvent/3.0.0.json b/src/eiffellib/schemas/EiffelTestCaseStartedEvent/3.0.0.json index 53c90a3..cb09801 100644 --- a/src/eiffellib/schemas/EiffelTestCaseStartedEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseStartedEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseStartedEvent" ] + "enum": [ + "EiffelTestCaseStartedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -142,8 +159,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseStartedEvent/3.1.0.json b/src/eiffellib/schemas/EiffelTestCaseStartedEvent/3.1.0.json index ac61792..1cbc6f5 100644 --- a/src/eiffellib/schemas/EiffelTestCaseStartedEvent/3.1.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseStartedEvent/3.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseStartedEvent" ] + "enum": [ + "EiffelTestCaseStartedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.1.0" ], + "enum": [ + "3.1.0" + ], "default": "3.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -151,8 +168,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseStartedEvent/3.2.0.json b/src/eiffellib/schemas/EiffelTestCaseStartedEvent/3.2.0.json index a085e28..0e089f1 100644 --- a/src/eiffellib/schemas/EiffelTestCaseStartedEvent/3.2.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseStartedEvent/3.2.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseStartedEvent" ] + "enum": [ + "EiffelTestCaseStartedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.2.0" ], + "enum": [ + "3.2.0" + ], "default": "3.2.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -151,8 +168,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseStartedEvent/3.3.0.json b/src/eiffellib/schemas/EiffelTestCaseStartedEvent/3.3.0.json new file mode 100644 index 0000000..c058a11 --- /dev/null +++ b/src/eiffellib/schemas/EiffelTestCaseStartedEvent/3.3.0.json @@ -0,0 +1,216 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelTestCaseStartedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "3.3.0" + ], + "default": "3.3.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "executor": { + "type": "string" + }, + "liveLogs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "mediaType": { + "type": "string" + }, + "name": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "uri": { + "type": "string" + } + }, + "required": [ + "name", + "uri" + ], + "additionalProperties": false + } + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/1.0.0.json b/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/1.0.0.json index d0f4c43..b3534ad 100644 --- a/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseTriggeredEvent" ] + "enum": [ + "EiffelTestCaseTriggeredEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -185,8 +189,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/1.1.0.json b/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/1.1.0.json index f1bb0ba..f9868cc 100644 --- a/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseTriggeredEvent" ] + "enum": [ + "EiffelTestCaseTriggeredEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -185,8 +189,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/2.0.0.json b/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/2.0.0.json index fbfebd4..beb0cea 100644 --- a/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseTriggeredEvent" ] + "enum": [ + "EiffelTestCaseTriggeredEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -169,8 +173,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/3.0.0.json b/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/3.0.0.json index ffdcb65..fe5a021 100644 --- a/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseTriggeredEvent" ] + "enum": [ + "EiffelTestCaseTriggeredEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -198,8 +215,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/3.1.0.json b/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/3.1.0.json index 11cf289..bb1e884 100644 --- a/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/3.1.0.json +++ b/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/3.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestCaseTriggeredEvent" ] + "enum": [ + "EiffelTestCaseTriggeredEvent" + ] }, "version": { "type": "string", - "enum": [ "3.1.0" ], + "enum": [ + "3.1.0" + ], "default": "3.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -198,8 +215,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/3.2.0.json b/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/3.2.0.json new file mode 100644 index 0000000..3d0f286 --- /dev/null +++ b/src/eiffellib/schemas/EiffelTestCaseTriggeredEvent/3.2.0.json @@ -0,0 +1,266 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelTestCaseTriggeredEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "3.2.0" + ], + "default": "3.2.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "testCase": { + "type": "object", + "properties": { + "tracker": { + "type": "string" + }, + "id": { + "type": "string" + }, + "version": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "required": [ + "id" + ], + "additionalProperties": false + }, + "recipeId": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "triggers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "MANUAL", + "EIFFEL_EVENT", + "SOURCE_CHANGE", + "TIMER", + "OTHER" + ] + }, + "description": { + "type": "string" + } + }, + "required": [ + "type" + ], + "additionalProperties": false + } + }, + "executionType": { + "type": "string", + "enum": [ + "MANUAL", + "SEMI_AUTOMATED", + "AUTOMATED", + "OTHER" + ] + }, + "parameters": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "additionalProperties": false + } + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "testCase" + ], + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/1.0.0.json b/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/1.0.0.json index 94ed1b4..1884a9a 100644 --- a/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestExecutionRecipeCollectionCreatedEvent" ] + "enum": [ + "EiffelTestExecutionRecipeCollectionCreatedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -204,8 +208,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/2.0.0.json b/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/2.0.0.json index 2d4667e..e4d6de4 100644 --- a/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestExecutionRecipeCollectionCreatedEvent" ] + "enum": [ + "EiffelTestExecutionRecipeCollectionCreatedEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -166,8 +170,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", @@ -219,8 +222,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/2.1.0.json b/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/2.1.0.json index a6ded19..692d3f5 100644 --- a/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/2.1.0.json +++ b/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/2.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestExecutionRecipeCollectionCreatedEvent" ] + "enum": [ + "EiffelTestExecutionRecipeCollectionCreatedEvent" + ] }, "version": { "type": "string", - "enum": [ "2.1.0" ], + "enum": [ + "2.1.0" + ], "default": "2.1.0" }, "time": { @@ -166,8 +170,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", @@ -219,8 +222,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/3.0.0.json b/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/3.0.0.json index c27daa3..aa0ab0d 100644 --- a/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestExecutionRecipeCollectionCreatedEvent" ] + "enum": [ + "EiffelTestExecutionRecipeCollectionCreatedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -150,8 +154,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", @@ -203,8 +206,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/4.0.0.json b/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/4.0.0.json index fa18cd8..1d4348e 100644 --- a/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/4.0.0.json +++ b/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/4.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestExecutionRecipeCollectionCreatedEvent" ] + "enum": [ + "EiffelTestExecutionRecipeCollectionCreatedEvent" + ] }, "version": { "type": "string", - "enum": [ "4.0.0" ], + "enum": [ + "4.0.0" + ], "default": "4.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -179,8 +196,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", @@ -232,8 +248,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/4.1.0.json b/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/4.1.0.json index 1a15fd7..928b3b9 100644 --- a/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/4.1.0.json +++ b/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/4.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestExecutionRecipeCollectionCreatedEvent" ] + "enum": [ + "EiffelTestExecutionRecipeCollectionCreatedEvent" + ] }, "version": { "type": "string", - "enum": [ "4.1.0" ], + "enum": [ + "4.1.0" + ], "default": "4.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -179,8 +196,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", @@ -232,8 +248,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/4.1.1.json b/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/4.1.1.json index 0237de5..bf632d4 100644 --- a/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/4.1.1.json +++ b/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/4.1.1.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestExecutionRecipeCollectionCreatedEvent" ] + "enum": [ + "EiffelTestExecutionRecipeCollectionCreatedEvent" + ] }, "version": { "type": "string", - "enum": [ "4.1.1" ], + "enum": [ + "4.1.1" + ], "default": "4.1.1" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -179,8 +196,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", @@ -232,8 +248,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/4.2.0.json b/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/4.2.0.json new file mode 100644 index 0000000..927142f --- /dev/null +++ b/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/4.2.0.json @@ -0,0 +1,299 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelTestExecutionRecipeCollectionCreatedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "4.2.0" + ], + "default": "4.2.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "selectionStrategy": { + "type": "object", + "properties": { + "tracker": { + "type": "string" + }, + "id": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "required": [ + "id" + ], + "additionalProperties": false + }, + "batchesUri": { + "type": "string" + }, + "batches": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "priority": { + "type": "integer" + }, + "recipes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "testCase": { + "type": "object", + "properties": { + "tracker": { + "type": "string" + }, + "id": { + "type": "string" + }, + "version": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "required": [ + "id" + ], + "additionalProperties": false + }, + "constraints": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "testCase" + ], + "additionalProperties": false + } + }, + "dependencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dependent": { + "type": "string" + }, + "dependency": { + "type": "string" + } + }, + "required": [ + "dependent", + "dependency" + ], + "additionalProperties": false + } + } + }, + "required": [ + "priority", + "recipes" + ], + "additionalProperties": false + } + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "selectionStrategy" + ], + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/4.3.0.json b/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/4.3.0.json new file mode 100644 index 0000000..b75b0b2 --- /dev/null +++ b/src/eiffellib/schemas/EiffelTestExecutionRecipeCollectionCreatedEvent/4.3.0.json @@ -0,0 +1,302 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelTestExecutionRecipeCollectionCreatedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "4.3.0" + ], + "default": "4.3.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "selectionStrategy": { + "type": "object", + "properties": { + "tracker": { + "type": "string" + }, + "id": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "required": [ + "id" + ], + "additionalProperties": false + }, + "batchesUri": { + "type": "string" + }, + "batches": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "priority": { + "type": "integer" + }, + "recipes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "testCase": { + "type": "object", + "properties": { + "tracker": { + "type": "string" + }, + "id": { + "type": "string" + }, + "version": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "required": [ + "id" + ], + "additionalProperties": false + }, + "constraints": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "testCase" + ], + "additionalProperties": false + } + }, + "dependencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dependent": { + "type": "string" + }, + "dependency": { + "type": "string" + } + }, + "required": [ + "dependent", + "dependency" + ], + "additionalProperties": false + } + } + }, + "required": [ + "priority", + "recipes" + ], + "additionalProperties": false + } + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "selectionStrategy" + ], + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/1.0.0.json b/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/1.0.0.json index 32f593f..e96d29c 100644 --- a/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestSuiteFinishedEvent" ] + "enum": [ + "EiffelTestSuiteFinishedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -153,8 +157,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/1.1.0.json b/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/1.1.0.json index 697cd96..2da8e76 100644 --- a/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestSuiteFinishedEvent" ] + "enum": [ + "EiffelTestSuiteFinishedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -153,8 +157,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/2.0.0.json b/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/2.0.0.json index 3f916b1..eab93be 100644 --- a/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestSuiteFinishedEvent" ] + "enum": [ + "EiffelTestSuiteFinishedEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -137,8 +141,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/3.0.0.json b/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/3.0.0.json index 38180b7..fe2c2f6 100644 --- a/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestSuiteFinishedEvent" ] + "enum": [ + "EiffelTestSuiteFinishedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -166,8 +183,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/3.1.0.json b/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/3.1.0.json index 0d3bbed..92adc7a 100644 --- a/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/3.1.0.json +++ b/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/3.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestSuiteFinishedEvent" ] + "enum": [ + "EiffelTestSuiteFinishedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.1.0" ], + "enum": [ + "3.1.0" + ], "default": "3.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -175,8 +192,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/3.2.0.json b/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/3.2.0.json index 7ee7c52..2c6aff0 100644 --- a/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/3.2.0.json +++ b/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/3.2.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestSuiteFinishedEvent" ] + "enum": [ + "EiffelTestSuiteFinishedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.2.0" ], + "enum": [ + "3.2.0" + ], "default": "3.2.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -175,8 +192,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/3.3.0.json b/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/3.3.0.json new file mode 100644 index 0000000..3b55162 --- /dev/null +++ b/src/eiffellib/schemas/EiffelTestSuiteFinishedEvent/3.3.0.json @@ -0,0 +1,240 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelTestSuiteFinishedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "3.3.0" + ], + "default": "3.3.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "outcome": { + "type": "object", + "properties": { + "verdict": { + "type": "string", + "enum": [ + "PASSED", + "FAILED", + "INCONCLUSIVE" + ] + }, + "conclusion": { + "type": "string", + "enum": [ + "SUCCESSFUL", + "FAILED", + "ABORTED", + "TIMED_OUT", + "INCONCLUSIVE" + ] + }, + "description": { + "type": "string" + } + }, + "additionalProperties": false + }, + "persistentLogs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "mediaType": { + "type": "string" + }, + "name": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "uri": { + "type": "string" + } + }, + "required": [ + "name", + "uri" + ], + "additionalProperties": false + } + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +} diff --git a/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/1.0.0.json b/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/1.0.0.json index c48c9f8..3dac65d 100644 --- a/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/1.0.0.json +++ b/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/1.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestSuiteStartedEvent" ] + "enum": [ + "EiffelTestSuiteStartedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.0.0" ], + "enum": [ + "1.0.0" + ], "default": "1.0.0" }, "time": { @@ -160,8 +164,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/1.1.0.json b/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/1.1.0.json index 47870ec..10bfd9e 100644 --- a/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/1.1.0.json +++ b/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/1.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestSuiteStartedEvent" ] + "enum": [ + "EiffelTestSuiteStartedEvent" + ] }, "version": { "type": "string", - "enum": [ "1.1.0" ], + "enum": [ + "1.1.0" + ], "default": "1.1.0" }, "time": { @@ -160,8 +164,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/2.0.0.json b/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/2.0.0.json index 0cd132a..e19f017 100644 --- a/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/2.0.0.json +++ b/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/2.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestSuiteStartedEvent" ] + "enum": [ + "EiffelTestSuiteStartedEvent" + ] }, "version": { "type": "string", - "enum": [ "2.0.0" ], + "enum": [ + "2.0.0" + ], "default": "2.0.0" }, "time": { @@ -144,8 +148,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/3.0.0.json b/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/3.0.0.json index 424ed1f..ee3fcd5 100644 --- a/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/3.0.0.json +++ b/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/3.0.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestSuiteStartedEvent" ] + "enum": [ + "EiffelTestSuiteStartedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.0.0" ], + "enum": [ + "3.0.0" + ], "default": "3.0.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -173,8 +190,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/3.1.0.json b/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/3.1.0.json index 23d181f..7c983f6 100644 --- a/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/3.1.0.json +++ b/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/3.1.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestSuiteStartedEvent" ] + "enum": [ + "EiffelTestSuiteStartedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.1.0" ], + "enum": [ + "3.1.0" + ], "default": "3.1.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -182,8 +199,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/3.2.0.json b/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/3.2.0.json index 9eb54f5..b615f85 100644 --- a/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/3.2.0.json +++ b/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/3.2.0.json @@ -11,11 +11,15 @@ }, "type": { "type": "string", - "enum": [ "EiffelTestSuiteStartedEvent" ] + "enum": [ + "EiffelTestSuiteStartedEvent" + ] }, "version": { "type": "string", - "enum": [ "3.2.0" ], + "enum": [ + "3.2.0" + ], "default": "3.2.0" }, "time": { @@ -63,7 +67,20 @@ }, "alg": { "type": "string", - "enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"] + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] }, "publicKey": { "type": "string" @@ -182,8 +199,7 @@ "key": { "type": "string" }, - "value": { - } + "value": {} }, "required": [ "key", diff --git a/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/3.3.0.json b/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/3.3.0.json new file mode 100644 index 0000000..08e4bf8 --- /dev/null +++ b/src/eiffellib/schemas/EiffelTestSuiteStartedEvent/3.3.0.json @@ -0,0 +1,250 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "type": { + "type": "string", + "enum": [ + "EiffelTestSuiteStartedEvent" + ] + }, + "version": { + "type": "string", + "enum": [ + "3.3.0" + ], + "default": "3.3.0" + }, + "time": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "type": "object", + "properties": { + "domainId": { + "type": "string" + }, + "host": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serializer": { + "type": "string", + "pattern": "^pkg:" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "authorIdentity": { + "type": "string" + }, + "integrityProtection": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "alg": { + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512", + "RS256", + "RS384", + "RS512", + "ES256", + "ES384", + "ES512", + "PS256", + "PS384", + "PS512" + ] + }, + "publicKey": { + "type": "string" + } + }, + "required": [ + "signature", + "alg" + ], + "additionalProperties": false + }, + "sequenceProtection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sequenceName": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "sequenceName", + "position" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "authorIdentity" + ] + }, + "schemaUri": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "version", + "time" + ], + "additionalProperties": false + }, + "data": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "categories": { + "type": "array", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ACCESSIBILITY", + "BACKUP_RECOVERY", + "COMPATIBILITY", + "CONVERSION", + "DISASTER_RECOVERY", + "FUNCTIONAL", + "INSTALLABILITY", + "INTEROPERABILITY", + "LOCALIZATION", + "MAINTAINABILITY", + "PERFORMANCE", + "PORTABILITY", + "PROCEDURE", + "RELIABILITY", + "SECURITY", + "STABILITY", + "USABILITY" + ] + } + }, + "liveLogs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "mediaType": { + "type": "string" + }, + "name": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "uri": { + "type": "string" + } + }, + "required": [ + "name", + "uri" + ], + "additionalProperties": false + } + }, + "customData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": {} + }, + "required": [ + "key", + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name" + ], + "additionalProperties": false + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "target": { + "type": "string", + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" + }, + "domainId": { + "type": "string" + } + }, + "required": [ + "type", + "target" + ], + "additionalProperties": false + } + } + }, + "required": [ + "meta", + "data", + "links" + ], + "additionalProperties": false +}