Skip to content

Commit

Permalink
move DateTime, SemVer and MediaType to Datatypes directory
Browse files Browse the repository at this point in the history
Signed-off-by: Armin Tänzer <armin.taenzer@tngtech.com>
  • Loading branch information
armintaenzertng committed Jul 18, 2023
1 parent 36ba50d commit afe74bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ The specific format is one of the most commonly used ISO-8601 formats.
## Metadata

- name: DateTime
- SubclassOf: xsd:string

## Properties

## Format

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ Standardized way of indicating the type of content of an Element. A String const

## Description

The MediaType is a String constrained to the RFC 2046 specification. It provides a standardized
A MediaType is a string constrained to the RFC 2046 specification. It provides a standardized
way of indicating the type of content of an Element.
A list of all possible media types is available at https://www.iana.org/assignments/media-types/media-types.xhtml.

## Metadata

- name: MediaType
- SubclassOf: xsd:string

## Properties
## Format

- pattern: ^[^\/]+\/[^\/]+$

Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@ A string constrained to the SemVer 2.0.0 specification.

## Description

The semantic version is a string
A semantic version is a string
that is following the specification of [Semantic Versioning 2.0.0](https://semver.org/).

## Metadata

- name: SemVer
- SubclassOf: xsd:string

## Properties

## Format

Expand Down

0 comments on commit afe74bd

Please sign in to comment.