This commit is contained in:
NoryiE
2025-02-10 06:00:28 +00:00
parent b0a4a6da9c
commit 71a1fce096
2428 changed files with 0 additions and 1005324 deletions

View File

@@ -1,25 +0,0 @@
# This is a tasl schema!
namespace s http://schema.org/
# classes are like tables, except they
# can be arbitrary algebraic data types,
# not just columns of primitives.
class s:Person :: {
s:name -> string
s:email -> ? uri
s:spouse -> ? * s:Person
s:gender -> [
s:Male
s:Female
s:value <- string
]
}
# references are a primitive type that
# point to other classes in the schema,
# just like foreign keys.
class s:Book :: {
s:name -> string
s:isbn -> uri
s:author -> * s:Person
}