Commit e0ee9b58 authored by Armand PUCCETTI's avatar Armand PUCCETTI
Browse files

Merge branch 'master' of gitlab.ow2.org:decoder/pkm-api

parents b3eb9b9f e1767cd8
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://gitlab.ow2.org/decoder/pkm-api/-/tree/master/schemas/pkm-uml-class-diagram-schema-1.0.0.json",
"title": "UML Class Diagram Schema - Version 1.0.0 JSON Schema.",
"type": "object",
"properties": {
"type": {
"type": "string"
},
"name": {
"type": "string"
},
"modules": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"classes": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"inherits": {
"type": "array",
"items": [
{
"type": "string"
},
{
"type": "string"
}
]
},
"attributes": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"name",
"type"
]
}
]
},
"operations": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"returnType": {
"type": "string"
},
"parameters": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"name"
]
},
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"name"
]
}
]
}
},
"required": [
"name",
"returnType"
]
},
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"returnType": {
"type": "string"
}
},
"required": [
"name"
]
}
]
}
},
"required": [
"name"
]
}
]
},
"associations": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"source": {
"type": "string"
},
"target": {
"type": "string"
}
},
"required": [
"source",
"target"
]
}
]
}
},
"required": [
"name",
"classes"
]
}
]
}
},
"required": [
"type",
"name",
"modules"
]
}
\ No newline at end of file
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://gitlab.ow2.org/decoder/pkm-api/-/tree/master/schemas/pkm-uml-state-model-schema-1.0.0.json",
"title": "UML State Model Schema - Version 1.0.0 JSON Schema.",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"id": {
"type": "string"
},
"regions": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"subvertexes": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"isSourceOfTransition": {
"type": "boolean"
},
"previousSubvertexes": {
"type": "array",
"items": [
{
"type": "string"
}
]
},
"isTargetOfTransition": {
"type": "boolean"
},
"name": {
"type": "string"
},
"nextSubvertexes": {
"type": "array",
"items": {
"type": "string"
}
},
"id": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"isSourceOfTransition",
"previousSubvertexes",
"isTargetOfTransition",
"name",
"nextSubvertexes",
"id",
"type"
]
},
]
},
"name": {
"type": "string"
},
"id": {
"type": "string"
},
"transitions": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"sourceID": {
"type": "string"
},
"targetName": {
"type": "string"
},
"targetID": {
"type": "string"
},
"id": {
"type": "string"
},
"sourceName": {
"type": "string"
}
},
"required": [
"sourceID",
"targetName",
"targetID",
"id",
"sourceName"
]
}
]
}
},
"required": [
"subvertexes",
"name",
"id",
"transitions"
]
}
]
},
},
"required": [
"regions",
"name",
"id"
]
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment