Skip to content

Commit

Permalink
Review tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
frederickobrien committed Mar 12, 2024
1 parent fe55618 commit 45423ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
namespace scala com.gu.contentapi.client.model.schemaorg
#@namespace typescript _at_guardian.content_api_models.schemaorg

struct SchemaOrg {
1: optional list<SchemaRecipe> recipe
}

struct SchemaRecipe {
1: required string _at_context
Expand Down
8 changes: 2 additions & 6 deletions models/src/main/thrift/content/v1.thrift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include "story_package_article.thrift"
include "contentatom.thrift"
include "entity.thrift"
include "schemaorg.thrift"
include "schema_org.thrift"

namespace scala com.gu.contentapi.client.model.v1
#@namespace typescript _at_guardian.content_api_models.v1
Expand Down Expand Up @@ -1684,10 +1684,6 @@ struct ContentChannel {

}

struct SchemaOrg {
1: optional list<schemaorg.SchemaRecipe> recipe
}

struct Content {

/*
Expand Down Expand Up @@ -1832,7 +1828,7 @@ struct Content {
/*
* Schema.org compatible data
*/
29: optional SchemaOrg schemaOrg
29: optional schema_org.SchemaOrg schemaOrg
}

struct NetworkFront {
Expand Down

0 comments on commit 45423ba

Please sign in to comment.