Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisaaronland committed Sep 17, 2016
1 parent dd8f889 commit 38adeff
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions compliance/compliance.go
Expand Up @@ -23,16 +23,16 @@ type HTTPComplianceDetails struct {
Supported bool `json:"supported"`
}

type HTTPCompliance map[string]HTTPComplianceDetails

/*
BaseUriRedirect map[string]HTTPComplianceDetails `json:"baseUriRedirect"`
CORS map[string]HTTPComplianceDetails `json:"cors"`
JsonLdMediaType map[string]HTTPComplianceDetails `json:"jsonldMediaType"`
ProfileLinkHeader map[string]HTTPComplianceDetails `json:"profileLinkHeader"`
CanonicalLinkHeader map[string]HTTPComplianceDetails `json:"canonicalLinkHeader"`
This (HTTP stuff) is here mostly to make the profile description comprehensive. If
we ever need to do more with then I suppose it warrants a more detailed data model.
(20160917/thisisaaronland)
*/

type HTTPCompliance map[string]HTTPComplianceDetails

type ImageCompliance struct {
Region map[string]ComplianceDetails `json:"region"`
Size map[string]ComplianceDetails `json:"size"`
Expand Down

0 comments on commit 38adeff

Please sign in to comment.