Skip to content

Commit

Permalink
feat: Updated pet store to include some semantics (#4745)
Browse files Browse the repository at this point in the history
* Updated pet store to include some semantics

* added example.com IRI for table-ref in pet store

* replaced semantics with current master state

* removed 2 color ontologyTermURI's for example of different behavior
  • Loading branch information
svandenhoek authored Feb 20, 2025
1 parent b3b9c18 commit 1837832
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions data/_models/specific/petstore.csv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
tableName,tableExtends,tableType,columnName,columnType,key,required,refSchema,refTable,refLink,refBack,refLabel,defaultValue,validation,visible,computed,semantics,profiles,label,description
Pet,,,,,,,,,,,,,,,,,Petstore,,My pet store example table
Order,,,,,,,,,,,,,,,,,Petstore,,
User,,,,,,,,,,,,,,,,,Petstore,,
User,,,,,,,,,,,,,,,,http://xmlns.com/foaf/0.1/Person,Petstore,,
Category,,,,,,,,,,,,,,,,,Petstore,,
Category,,,name,,1,true,,,,,,,,,,,Petstore,,
Order,,,orderId,auto_id,1,true,,,,,,,,,ORDER:${mg_autoid},,Petstore,,
Expand All @@ -19,12 +19,12 @@ Pet,,,tags,ontology_array,,,,Tag,,,,,,,,,Petstore,,
Pet,,,weight,decimal,,true,,,,,,,,,,,Petstore,,
Pet,,,Heading2,heading,,,,,,,,,,,,,Petstore,,
Pet,,,orders,refback,,,,Order,,pet,,,,,,,Petstore,,
User,,,username,,1,true,,,,,,,,,,,Petstore,,
User,,,firstName,,,,,,,,,,,,,,Petstore,,
User,,,lastName,,,,,,,,,,,,,,Petstore,,
User,,,picture,file,,,,,,,,,,,,,Petstore,,
User,,,email,email,,,,,,,,,,,,,Petstore,,
User,,,username,,1,true,,,,,,,,,,http://xmlns.com/foaf/0.1/accountName,Petstore,,
User,,,firstName,,,,,,,,,,,,,http://xmlns.com/foaf/0.1/firstName,Petstore,,
User,,,lastName,,,,,,,,,,,,,http://xmlns.com/foaf/0.1/lastName,Petstore,,
User,,,picture,file,,,,,,,,,,,,http://xmlns.com/foaf/0.1/img,Petstore,,
User,,,email,email,,,,,,,,,,,,http://xmlns.com/foaf/0.1/mbox,Petstore,,
User,,,password,,,,,,,,,,,,,,Petstore,,
User,,,phone,,,,,,,,,,,,,,Petstore,,
User,,,phone,,,,,,,,,,,,,http://xmlns.com/foaf/0.1/phone,Petstore,,
User,,,userStatus,int,,,,,,,,,,,,,Petstore,,
User,,,pets,ref_array,,,,Pet,,,,,,,,,Petstore,,
User,,,pets,ref_array,,,,Pet,,,,,,,,http://example.com/petstore#hasPets,Petstore,,
4 changes: 2 additions & 2 deletions data/_ontologies/Tag.csv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
order,name,label,parent,codesystem,code,ontologyTermURI,definition
,colors,,,,,,
,red,,colors,,,,
,green,,colors,,,,
,red,,colors,,,https://dbpedia.org/page/Red,
,green,,colors,,,https://dbpedia.org/page/Green,
,blue,,colors,,,,
,purple,,colors,,,,
,species,,,,,,
Expand Down

0 comments on commit 1837832

Please sign in to comment.