Skip to content

Need to add GTS scalar types, supported by GTS spec itself #52

@Artifizer

Description

@Artifizer

for example:

{
"$schema": "...",
"$id": "gts://gts.spec.type.scalar.duration.v1~",
"title": "Duration",
"type": "string",
"format": "duration"
"pattern": "^P(?!$)(\d+Y)?(\d+M)?(\d+D)?(T(\d+H)?(\d+M)?(\d+(\.\d+)?S)?)?$"
"description": "ISO 8601 duration"
}
Later you can ref it as:

....
"properties": {
    "timeout": {
        "$ref": "gts://gts.spec.type.scalar.duration.v1~"
    }
}
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions