Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/concerto/metamodel@1.0.0.cto
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ concept Range {
concept TypeIdentifier {
o String name
o String namespace optional
o String resolvedName optional
}

abstract concept DecoratorLiteral {
Expand Down Expand Up @@ -143,10 +144,16 @@ abstract concept Property {
o String name regex=/^(\p{Lu}|\p{Ll}|\p{Lt}|\p{Lm}|\p{Lo}|\p{Nl}|\$|_|\\u[0-9A-Fa-f]{4})(?:\p{Lu}|\p{Ll}|\p{Lt}|\p{Lm}|\p{Lo}|\p{Nl}|\$|_|\\u[0-9A-Fa-f]{4}|\p{Mn}|\p{Mc}|\p{Nd}|\p{Pc}|\u200C|\u200D)*$/u
o Boolean isArray default=false
o Boolean isOptional default=false
o CollectionSizeValidator sizeValidator optional
o Decorator[] decorators optional
o Range location optional
}

concept CollectionSizeValidator {
o Integer minSize optional
o Integer maxSize optional
}

concept RelationshipProperty extends Property {
o TypeIdentifier type
}
Expand Down Expand Up @@ -244,6 +251,7 @@ concept Models {
}

abstract concept ScalarDeclaration extends Declaration {
o String namespace optional
}

concept BooleanScalar extends ScalarDeclaration {
Expand Down
Loading