{ "apidoc": { "version": "0.15.4" }, "name": "registry_events", "organization": { "key": "nclazz" }, "application": { "key": "registry_events" }, "namespace": "de.nclazz.registry.v0", "version": "0.0.3-1-g6fccc33", "info": { "contact": { "name": "Niclas Thobaben", "url": "https://nclazz.de", "email": "info@nclazz.de" } }, "headers": [], "imports": [ { "uri": "https://app.apibuilder.io/nclazz/common/latest/service.json", "namespace": "de.nclazz.common.v0", "organization": { "key": "nclazz" }, "application": { "key": "common" }, "version": "0.0.3", "enums": [], "interfaces": [], "unions": [], "models": [ "healthcheck" ], "annotations": [ { "name": "personal_data", "description": "Identifies a field that contains Personal Data, as defined by GDPR." } ] }, { "uri": "https://app.apibuilder.io/nclazz/registry/latest/service.json", "namespace": "de.nclazz.registry.v0", "organization": { "key": "nclazz" }, "application": { "key": "registry" }, "version": "0.0.2", "enums": [ "serviceHealth" ], "interfaces": [], "unions": [], "models": [ "service", "service_form" ], "annotations": [ { "name": "personal_data", "description": "Identifies a field that contains Personal Data, as defined by GDPR." } ] } ], "enums": [], "interfaces": [], "unions": [ { "name": "service_event", "plural": "service_events", "types": [ { "type": "service_registered", "attributes": [], "discriminator_value": "service_registered" }, { "type": "service_unregistered", "attributes": [], "discriminator_value": "service_unregistered" }, { "type": "service_healthchanged", "attributes": [], "discriminator_value": "service_healthchanged" } ], "attributes": [], "interfaces": [], "discriminator": "type" } ], "models": [ { "name": "service_healthchanged", "plural": "service_healthchangeds", "fields": [ { "name": "event_id", "type": "string", "required": true, "attributes": [], "annotations": [] }, { "name": "timestamp", "type": "date-time-iso8601", "required": true, "attributes": [], "annotations": [] }, { "name": "service", "type": "de.nclazz.registry.v0.models.service", "required": true, "attributes": [], "annotations": [] } ], "attributes": [ { "name": "aggregateId", "value": { "name": "serviceId", "type": "string" } } ], "interfaces": [], "description": "A has changed its health status." }, { "name": "service_registered", "plural": "service_registereds", "fields": [ { "name": "event_id", "type": "string", "required": true, "attributes": [], "annotations": [] }, { "name": "timestamp", "type": "date-time-iso8601", "required": true, "attributes": [], "annotations": [] }, { "name": "service", "type": "de.nclazz.registry.v0.models.service", "required": true, "attributes": [], "annotations": [] } ], "attributes": [ { "name": "aggregateId", "value": { "name": "serviceId", "type": "string" } } ], "interfaces": [], "description": "A new service has been registered." }, { "name": "service_unregistered", "plural": "service_unregistereds", "fields": [ { "name": "event_id", "type": "string", "required": true, "attributes": [], "annotations": [] }, { "name": "timestamp", "type": "date-time-iso8601", "required": true, "attributes": [], "annotations": [] }, { "name": "service", "type": "de.nclazz.registry.v0.models.service", "required": true, "attributes": [], "annotations": [] } ], "attributes": [ { "name": "aggregateId", "value": { "name": "serviceId", "type": "string" } } ], "interfaces": [], "description": "A service has been unregistered." } ], "resources": [], "attributes": [], "annotations": [ { "name": "personal_data", "description": "Identifies a field that contains Personal Data, as defined by GDPR." } ], "description": "Registry Event Schema for Kafka Streams." }