Using the offer object and categories on a schema.org model -


i'm working on using schema.org events database on site. don't sell anything, try able show kinds of events (concert, activities children, art exhibition, etc) of them free, of them not, , don't know, , don't have precise information on price(s).

so, markup correct according google's testing tool, says should have offer object, , can't seem know how put it. in database, regarding prices have these fields :

  • 'free', enumeration ['yes','no','not communicated']
  • 'tariff', optional free text field, price or price range, , general information prices, how it's cheaper young or old people.

from saw, when it's free, can put offer price @ 0, when it's not don't have price, or may have it, written in own langage (not sorted list of numeric prices), i'm not talking when don't know if it's free or not.

so first question : possible make schema.org offer little information ?

my second problem categories, have categories events, example, there's art exhibit showing photographies, 2 categories 'art exhibit' , 'photography' ('art exhibit' being main one).

my second question : how can use values define events better ? suppose must make categories coincide schema.org subevents, musicevents, or whatever, lose little accuracy there, wondering if there way, , think it's not practical change type depending on categories fits in.

well, in advance reading this.

schema.org not require properties, offer without price totally fine.

consumers of content, on other hand, might require properties/types whatever do.

for example, google lists what required showing events rich snippet. there can see having offer event (via offers property) optional, if specify it, price , pricecurrency required offer.

in general, it’s best specify data possible, if it’s offer don’t know price, use offer , add other properties can provide content for.
however, might case (i don’t know it; if so, pity!) google search doesn’t show @ if have offer without price event, instead of "falling back" event rich snippet doesn’t have offer in first place.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -