Appendix D. The PICS Specification

The PICS specification introduced in Chapter 23 consists of two parts:

An excellent article describing PICS is “PICS: Internet Access Controls Without Censorship,” by Paul Resnick and James Miller, Communications of the ACM, October 1996, p. 87. The online version of the article is at http://w3.org/PICS/iacwcv2.htm.

The PICS rating service specifications are designed to enable many different kinds of ratings services on the World Wide Web. A rating service is any person, organization, or other entity that issues ratings. Ratings can be distributed with the document being rated, by a third-party site, on a CD-ROM, or by any other electronic means.

The PICS standard specifies a syntax for text files that describe the different kinds of ratings that a rating service can issue. This lets computer programs automatically parse the kinds of ratings that a service provides.

In their article describing PICS, Resnick and Miller create a sample PICS rating service based on the MPAA’s movie-rating scheme:

((PICS-version 1.0)
  (rating-system "http://moviescale.org/Ratings/Description/")
  (rating-service "http://moviescale.org/v1.0")
  (icon "icons/moviescale.gif")
  (name "The Movies Rating Service")
  (description "A rating service based on the MPAA's movie rating scale")
  (category 
   (transmit-as "r")
   (name "Rating")
   (label (name "G") (value 0) (icon "icons/G.gif"))
   (label (name "PG") (value 1) (icon "icons/PG.gif"))
   (label (name "PG-13") (value 2) (icon "icons/PG-13.gif"))
   (label (name "R") (value 3) (icon "icons/R.gif"))
   (label (name "NC-17") (value 4) (icon "icons/NC-17.gif"))))

This rating description indicates a location where information about the rating system and service can be found, gives it a name, and creates a single rating category called Rating. Rated objects can have one of five different ratings: G, PG, PG-13, R, or NC-17. The standard gives each of these ratings a value and an associated icon to be displayed with the rating.

The PICS rating service description is defined to have a MIME file typeapplication/pics-service . The file is formatted as a list.

The PICS format makes extensive use of name/value pairs. These are formatted as (name value). They are interpreted as "name has the value of value.” For example, (min 0.0) means that the particular object being described has a minimum value of 0.0.

The following names are used to describe the ratings services themselves:

If a list begins with the atom category, then the list contains a list of name/value pairs that are used to describe a particular ratings category. The following are supported:

Each PICS label is further described by a collection of name/value pairs:

Ratings services can operate label bureaus. A label bureau is “a computer system which supplies, via a computer network, ratings of documents. It may or may not provide the documents themselves.”