Skip to content

Commit

Permalink
state media type for Croissant (includes profile) #792
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Jan 27, 2025
1 parent f2d0cfd commit 926cf09
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/croissant-spec-draft.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,12 @@ Croissant datasets must declare that they conform to this specification by inclu

Note that while the Croissant specification is versioned, the Croissant namespace above is not, so the constructs within the Croissant vocabulary will keep stable URIs even when the specification version changes.

The media type (content type or MIME type) for Croissant includes a JSON-LD [profile](https://www.w3.org/TR/json-ld/#application-ld-json) to distinguish it from other JSON-LD documents:

```
application/ld+json; profile="http://mlcommons.org/croissant/1.0"
```

### ID and Reference Mechanism

In Croissant datasets, various elements need to be connected to each other. For instance, a `FileObject` may be extracted from another `FileObject`, or a column of a table may reference another table. We therefore need a mechanism to define **identifiers** for parts of a dataset, and to reference them in other places.
Expand Down

0 comments on commit 926cf09

Please sign in to comment.